grep - Bugs: bug #13847, memchr() not checked on Pexecute()...
You are not allowed to post comments on this tracker with your current authentication level.
bug #13847: memchr() not checked on Pexecute() - leads to segfault
Submitter: | Shlomi Fish <shlomif> | ||
Submitted: | Tue 19 Jul 2005 07:57:04 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Works For Me |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Thu 28 Jul 2005 10:56:00 PM UTC, comment #2: |
Charles Levert <charles_levert> |
Sat 23 Jul 2005 02:07:48 AM UTC, comment #1: Although this bug is already fixed in CVS, the attached patch suggests the idea of adding a test for it.
|
Charles Levert <charles_levert> |
Tue 19 Jul 2005 07:57:04 AM UTC, original submission:
There is a call to memchr() in Pexecute (in search.c) which is not checked for NULL return value, and as a result can crash the program.
|
Shlomi Fish <shlomif> |
Depends on the following items: None found
Items that depend on this one: None found
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-07-28 | charles_levert | Open/Closed | Open | Closed | |
2005-07-23 | charles_levert | Status | None | Works For Me | |
2005-07-19 | shlomif | Attached File | - | Added grep-patch.diff, #2726 |
Powered by Savane 3.13-3230.
Corresponding source code
I have created a new tests/pcre.sh file with such a test. The bug was already fixed, so I am now closing this.