grep - Patches: patch #3348, Malloc handling buf in src/dfa.c
You are not allowed to post comments on this tracker with your current authentication level.
patch #3348: Malloc handling buf in src/dfa.c
Submitter: | Sorav Bansal <sbansal> | ||
Submitted: | Wed 08 Sep 2004 07:32:17 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Tue 12 Apr 2005 02:21:18 PM UTC, comment #2: |
Julian Foad <julianfoad> |
Wed 27 Oct 2004 03:33:29 PM UTC, comment #1: This doesn't seem to be an appropriate fix. I think you should use xmalloc and/or MALLOC. Also, while fixing these two instances, you should fix the other instances of plain unchecked malloc that exist in the same file.
|
Anonymous |
Wed 08 Sep 2004 07:32:17 AM UTC, original submission:
The file dfa.c in grep-2.5 has two malloc handling bugs at line numbers 3566 and 3568. I am attaching the file dfa.c with the bug fixes marked with XXX |
Sorav Bansal <sbansal> |
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-04-12 | julianfoad | Status | None | Done | |
Open/Closed | Open | Closed | |||
2004-09-08 | sbansal | Attached File | - | Added dfa.c, #3648 |
Powered by Savane 3.13-0329.
Corresponding source code
This has been fixed in CVS, using "MALLOC" instead.