about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorWill Woods <w@wizard.zone>2025-02-28 17:30:53 -0800
committerWill Woods <w@wizard.zone>2025-02-28 17:30:53 -0800
commitb1196717fcba13d8ff73ec06c3d8c5bee3b74ec9 (patch)
treec49815b34416472ea9aff2a2c99731ce92244d16 /compiler/rustc_codegen_llvm/src
parent60493b8973ac5ba632952eaa2f212b56bb97ccfe (diff)
downloadrust-b1196717fcba13d8ff73ec06c3d8c5bee3b74ec9.tar.gz
rust-b1196717fcba13d8ff73ec06c3d8c5bee3b74ec9.zip
Tweak BufReader::peek() doctest to expose bug in Buffer::read_more()
This patch makes BufReader::peek()'s doctest call read_more() to refill
the buffer before the inner reader hits EOF. This exposes a bug in
read_more() that causes an out-of-bounds slice access and segfault.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions