On 3/14/23 7:44 PM, Grisha Levit wrote:
echo . >/tmp/hist

cat >/tmp/irc <<EOF
set revert-all-at-newline on
"F" fetch-history
"R" non-incremental-reverse-search-history
"E" end-of-history
"K" kill-region
EOF

HISTFILE=/tmp/hist INPUTRC=/tmp/irc ./bash --norc -in <<<$'FR.\n.EK'

ERROR: AddressSanitizer: heap-use-after-free on address 0x0001062078d0
at pc 0x00010305dd24 bp 0x00016d3703d0 sp 0x00016d3703c8

Thanks for the report.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/


Reply via email to