Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14382

Re: v4.4 segfault in 'decode_prompt_string' when processing special parameter

From Chris Schoenberg <chris@cr0ssbyte.com>
Newsgroups gnu.bash.bug
Subject Re: v4.4 segfault in 'decode_prompt_string' when processing special parameter
Date 2018-07-21 17:11 -0500
Message-ID <mailman.3997.1532211135.1292.bug-bash@gnu.org> (permalink)
References <CAAnqJ08xXw8Ezq4mn_FGojcx6vi26d001foWFncUJt809XiS_w@mail.gmail.com>

Show all headers | View raw


The payload got filtered, so here it is again (substitute the actual
character for [at]):

$\{_[at]P};${_[at]P}

On Sat, Jul 21, 2018, 1:47 PM Chris Schoenberg wrote:

> This only works in 4.4; earlier versions throw a 'bad substitution' error. It
> causes an infinite loop of calls between 'expand_prompt_string' and 'decode_prompt_string',
> where calls to 'xmalloc' exhaust the heap:
>
...
>

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: v4.4 segfault in 'decode_prompt_string' when processing special parameter Chris Schoenberg <chris@cr0ssbyte.com> - 2018-07-21 17:11 -0500

csiph-web