Re: [dev] [sbase] grep: global-buffer-overflow
On Thu, Oct 23, 2025 at 03:28:06PM +0200, Frank Busse wrote:
> Hi,
>
> again found by KLEE:
>
> ---
> $ printf '\x00\x00\n\x00\x00\x00\x00\x00' > A
> $ ./grep -xsf A
> ERROR: AddressSanitizer: global-buffer-overflow
> $ ./grep -wf A
> ERROR: AddressSanitizer: global-buffer-overflow
The following patch should solve these problems. While we were
analyzing the problem it was discovered that the flag -x doesn't
work well, but that is a different topic to be addessed in a different
commit.
-- >8 --
Received on Wed Nov 05 2025 - 10:28:03 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 05 2025 - 10:36:09 CET