about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-07 10:02:22 +0100
committerGitHub <noreply@github.com>2025-03-07 10:02:22 +0100
commita98df54bdc3fcedfd89bf1959960b97a5432cb5b (patch)
tree7072798d34b9a0fe092892a8206c1e88edbfa025 /compiler/rustc_codegen_llvm/src
parentd9860276b8f4a1361fcf6fff32f523ebb7cfd2b9 (diff)
parent6d07144613ffb54e6856bd5543acfe5e12eb3447 (diff)
downloadrust-a98df54bdc3fcedfd89bf1959960b97a5432cb5b.tar.gz
rust-a98df54bdc3fcedfd89bf1959960b97a5432cb5b.zip
Rollup merge of #137832 - wgwoods:fix-bufreader-peek, r=joboet
Fix crash in BufReader::peek()

`bufreader_peek` tracking issue: #128405

This fixes a logic error in `Buffer::read_more()` that would make `BufReader::peek()` expose uninitialized data and/or segfault if `read_more()` was called with a partially-full buffer and a non-empty inner reader.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions