[aide-tracker] [ aide-Bugs-1430478 ] most returns from malloc/realloc not checked
Brought to you by:
hvhaugwitz,
rvdb
From: SourceForge.net <no...@so...> - 2006-02-13 06:48:12
|
Bugs item #1430478, was opened at 2006-02-12 22:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581579&aid=1430478&group_id=86976 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Landon Curt Noll (lcn2) Assigned to: Nobody/Anonymous (nobody) Summary: most returns from malloc/realloc not checked Initial Comment: Many calls to malloc and realloc are not checked for returning NULL. As a result, when the system is running low on memory, aide fails because of a NULL pointer. All returns from malloc and realloc should be checked for NULL. When NULL is returned, aide should fail with an "out of memory" error message instread of a segmentation violation or bus error due to a bad NULL pointer reference. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581579&aid=1430478&group_id=86976 |