GNU bug report logs - #22127
Segfault / null pointer access in function str_append_modified()

Previous Next

Package: sed;

Reported by: Hanno Böck <hanno <at> hboeck.de>

Date: Thu, 10 Dec 2015 01:02:07 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 22127 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: Hanno Böck <hanno <at> hboeck.de>, 22127 <at> debbugs.gnu.org
Subject: Re: bug#22127: Segfault / null pointer access in function
 str_append_modified()
Date: Sat, 28 Jan 2017 23:11:06 +0000
tags 22172 fixed
close 22172
stop

Hello,

On Thu, Dec 17, 2015 at 06:56:51PM -0800, Jim Meyering wrote:
>On Wed, Dec 9, 2015 at 3:42 AM, Hanno Böck <hanno <at> hboeck.de> wrote:
>> With a malformed input (see attachmend) sed can crash in the function
>> str_append_modified()
>
>Thank you for the report.
>I've reduced it to the following one-liner (demonstrating
>failure with an ASAN-enabled binary), and have attached
>a patch:

The fix was pushed here:
 http://git.savannah.gnu.org/cgit/sed.git/commit/?id=67b3fcc980
and was included in sed-4.3.

I'm marking this as fixed and closing the bug.

regards,
- assaf




This bug report was last modified 8 years and 100 days ago.

Previous Next


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