Re: heap-use-after-free executing_line_number() bash/execute_cmd.c:437:40
Duncan Roe <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 19, 2025 at 06:13:11PM -0500, Grisha Levit wrote:
> On Fri, Dec 19, 2025, 17:44 anushakov--- via Bug reports for the GNU Bourne
>
> Here's a simpler reproducer:
>
> bash -c $'${}\n<<X'
>
Works for me with latest devel commit:
| $ bash -c $'${}\n<<X'
| bash: line 1: ${}: bad substitution
| bash: line 2: warning: here-document at line 2 delimited by end-of-file (wanted `X')
| $ bash --version|head -n1
| GNU bash, version 5.3.0(1)-maint[2cdb2f9b] (x86_64-slackware-linux-gnu)
Cheers ... Duncan.