Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: ksh segfault on 7.9
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
OpenBSD tech <tech@openbsd.org>
Date:
Fri, 19 Jun 2026 08:13:26 -0600

Download raw body.

Thread
  • Kirill A. Korinsky:

    ksh segfault on 7.9

    • Todd C. Miller:

      ksh segfault on 7.9

On Fri, 19 Jun 2026 15:50:20 +0200, Kirill A. Korinsky wrote:

> 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.
> 
> Ok?

OK millert@

 - todd