Opened 14 years ago

Closed 13 years ago

#3559 closed defect (fixed)

Malloc/Calloc/Realloc return values should always be checked

Reported by: aboudreault Owned by: aboudreault
Priority: normal Milestone: 6.0 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: dmorissette

Description

There are many memory allocation calls that aren't checked in the mapserver code source.

We are going to pass through the code to fix this and make MapServer more robust.

Change History (1)

comment:1 by aboudreault, 13 years ago

Resolution: fixed
Status: newclosed

Fixed and committed in r10772. A small guideline about memory allocations is available there: http://trac.osgeo.org/mapserver/wiki/CodingGuidelines

Note: See TracTickets for help on using tickets.