Re: asan report in bash_add_history

2023-03-14 Thread Chet Ramey
On 3/7/23 11:56 AM, Grisha Levit wrote: ./bash --norc -in <<<$'\\\n.' bashhist.c:899:8: runtime error: addition of unsigned offset to 0x00010700d190 overflowed to 0x00010700d18f Thanks for the report. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa,

asan report in bash_add_history

2023-03-07 Thread Grisha Levit
./bash --norc -in <<<$'\\\n.' bashhist.c:899:8: runtime error: addition of unsigned offset to 0x00010700d190 overflowed to 0x00010700d18f ERROR: AddressSanitizer: heap-buffer-overflow on address 0x00010700d18f at pc 0x0001045fe1b8 bp 0x00016bb1f350 sp 0x00016bb1f348 READ of size 1 at 0x00010700d1