bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another undo list UAF


From: Chet Ramey
Subject: Re: Another undo list UAF
Date: Fri, 17 Jan 2025 17:34:10 -0500
User-agent: Mozilla Thunderbird

On 1/17/25 4:57 PM, Grisha Levit wrote:
On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit <grishalevit@gmail.com> wrote:

On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey <chet.ramey@case.edu> wrote:

On 1/15/25 4:08 PM, Grisha Levit wrote:
Another undo list UAF. Related, I think, to edit-and-execute-command.

HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'

I can't reproduce this on macOS.


I just tried a fresh build on macOS (15.2, arm64) and see the same result:

$ ./configure CFLAGS='-fsanitize=address'

And in a non-ASAN build:

Nope. Not on intel running 15.1.1, either.


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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]