bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-grep] [bug #13161] missing check on memchr() return val in EGexecut


From: Tim Waugh
Subject: [bug-grep] [bug #13161] missing check on memchr() return val in EGexecute
Date: Mon, 23 May 2005 17:00:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13161>

                 Summary: missing check on memchr() return val in EGexecute
                 Project: grep
            Submitted by: twaugh
            Submitted on: Mon 05/23/2005 at 17:00
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13161>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]