[mapserver-dev] Ticket 3559 - malloc/calloc/realloc return values should always be checked

Alan Boudreault aboudreault at mapgears.com
Thu Oct 7 09:31:15 EDT 2010


Devs,

I'm about to begin this task and would like to see if you agree with what I 
plan to do.

Basicaly, the task is to pass through the code source and verify that all 
memory allocation calls are checked. This implies, if the function that 
contains the memory allocation wasn't already returning any error value to its 
caller, to add checks in the callers and do the appropriate action.

Let me know if you have any comment.

regards,
Alan

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20101007/c7be896a/attachment.html


More information about the mapserver-dev mailing list