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

Submitted by:  Tim Waugh <twaugh>
Submitted on:  Mon 23 May 2005 05:00:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Dec 2009 07:56:51 AM UTCbonziniStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1