Ticket #3559 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Changed 2 years ago by aboudreault

  • status changed from new to closed
  • resolution set to fixed

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.