patchgrep - 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: 

This has been fixed in CVS, using "MALLOC" instead.

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.

- Julian Foad <julianfoad@btopenworld.com>

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>

 

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

Attached Files
file #7843:  dfa.c added by sbansal (95KiB - text/plain - The file is the fixed version of src/dfa.c. The fixes are marked with XXX)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 StatusNone Done
    Open/ClosedOpen Closed
2004-09-08 sbansal Attached File- Added dfa.c, #3648

Back to the top

Powered by Savane 3.13-0329.
Corresponding source code