Opened 17 years ago
Closed 17 years ago
#277 closed Defect (fixed)
alloc() verified for NULL in function dir_open()
Reported by: | Joses | Owned by: | davea |
---|---|---|---|
Priority: | Trivial | Milestone: | Undetermined |
Component: | Client - Build | Version: | |
Keywords: | Cc: |
Description
dirp should be checked if calloc() returns NULL. this affects function dir_open() and also function cleanup_temp_files() which also calls dir_open()
Reason for enhancement is due to experience with plenty of other programs which don't take NULL into account (especially with limited RAM computers).
Attachments (2)
Change History (4)
Changed 17 years ago by
Attachment: | filesys.C.diff added |
---|
Changed 17 years ago by
Attachment: | http_curl.C.diff added |
---|
verify dir_open() returns a value, exit if NULL
comment:1 Changed 17 years ago by
Owner: | changed from romw to davea |
---|
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
added NULL check for dir_open()