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


Groups > gnu.bash.bug > #14330 > unrolled thread

Re: Crash on jobs 2^32-2

Started byPiotr Grzybowski <narsil.pl@gmail.com>
First post2018-07-11 16:05 +0200
Last post2018-07-11 16:05 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Crash on jobs 2^32-2 Piotr Grzybowski <narsil.pl@gmail.com> - 2018-07-11 16:05 +0200

#14330 — Re: Crash on jobs 2^32-2

FromPiotr Grzybowski <narsil.pl@gmail.com>
Date2018-07-11 16:05 +0200
SubjectRe: Crash on jobs 2^32-2
Message-ID<mailman.3428.1531317955.1292.bug-bash@gnu.org>
 oh wow, this is nice:

#define get_job_by_jid(ind) (jobs[(ind)])

155           if ((job == NO_JOB) || jobs == 0 || get_job_by_jid (job) == 0)

definitely this if needs looking into.

cheers,
pg

On 11 Jul 2018, at 15:41, Simon Wörner wrote:

> Dear all,
> The following crash was found by a modified
> version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL).
> 
> The crash can be reproduced by running:
> $ ls
> $ jobs 4278190079 # 2^32-2
> 
> We can the crash for
> - GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
> - GNU bash, version 4.4.23(2) (x86_64-unknown-linux-gnu)
> - git master branch (commit 64447609994bfddeef1061948022c074093e9a9f)
> - git devel branch (commit a078e04c3d9163541cce590c3fd00f243fe77613)
> 
> Credits: Simon Wörner, Sergej Schumilo, Cornelius Aschermann (all of
> Ruhr-Universität Bochum)
> 
> Best regards,
> Simon Wörner
> 
> 

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web