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)

filesys.C.diff (359 bytes) - added by Joses 17 years ago.
added NULL check for dir_open()
http_curl.C.diff (326 bytes) - added by Joses 17 years ago.
verify dir_open() returns a value, exit if NULL

Download all attachments as: .zip

Change History (4)

Changed 17 years ago by Joses

Attachment: filesys.C.diff added

added NULL check for dir_open()

Changed 17 years ago by Joses

Attachment: http_curl.C.diff added

verify dir_open() returns a value, exit if NULL

comment:1 Changed 17 years ago by romw

Owner: changed from romw to davea

comment:2 Changed 17 years ago by davea

Resolution: fixed
Status: newclosed

(In [13817]) - update_versions now generates <api_version> for all app versions

  • user web: don't XML-escape team names in DB
  • deleted obsolete files
  • calloc() return check, fixes #277
Note: See TracTickets for help on using tickets.