GNU bug report logs - #19827
sed 4.2.2 hangs when passed specially crafted program

Previous Next

Package: sed;

Reported by: Alexander Nasonov <alnsn <at> yandex.ru>

Date: Tue, 10 Feb 2015 08:41:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alexander Nasonov <alnsn <at> yandex.ru>
To: 19827 <at> debbugs.gnu.org
Subject: bug#19827: sed 4.2.2 hangs when passed specially crafted program
Date: Tue, 10 Feb 2015 08:18:27 +0000
This was found by the afl fuzzer http://lcamtuf.coredump.cx/afl/

$ echo | gsed -f afl-out/crashes/id*03,*
^C

$ cat afl-out/crashes/id*03,*
$G
$D


$ hexdump -C afl-out/crashes/id*03,*
00000000  24 47 0a 24 44 0a 0a 0a                           |$G.$D...|
00000008


or

echo | gsed -e '$G
> $D
>
>
> '
^C

I ran the fuzzer and the test on NetBSD amd64 7.99.x.

Alex




This bug report was last modified 10 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.