CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/06/19 08:17:40

Modified files:
        bin/ksh        : main.c 

Log message:
bin/ksh: restore source after interactive error recovery

unwind() may clear source while popping execution environments. The
interactive shell then expands PS1 before compile() restores source, so
a prompt command substitution using read -s can dereference NULL while
saving history. Restore source to the current interactive input source
before continuing to the prompt loop.

Reported by Luigi Vianello

OK: millert@

Reply via email to