buggrep - Bugs: bug #13161, missing check on memchr() return...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13161: missing check on memchr() return val in EGexecute

Submitter:  Tim Waugh <twaugh>
Submitted:  Mon 23 May 2005 05:00:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 23 Dec 2009 07:56:51 AM UTC, comment #1: 

Thank you for the bug report. This bug has been fixed in the
development sources, which can be downloaded using git from
git://git.sv.gnu.org/grep.git

Paolo Bonzini <bonzini>
Mon 23 May 2005 05:00:47 PM UTC, original submission:  

Please see the original bug report:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158506

The upshot is that EGexecute() is missing a check to see if memchr() returned NULL.  This can happen when len is less than the length of the initial line passed in.

Tim Waugh <twaugh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bonzini (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-23 bonzini StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code