Opened 13 years ago
Closed 13 years ago
#3807 closed defect (fixed)
Unchecked malloc()s in common filters
Reported by: | ejn | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | common filters, malloc, unchecked |
Cc: |
Description
In mapogcfiltercommon.c are 4 unchecked malloc()s: two strings, one expressionObj and one shapeObj. The attached patch converts them all to msSmallMalloc()s as a quick fix: in the case of expressionObj and shapeObj maybe MS_CHECK_ALLOC could be considered.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch to change unchecked malloc()s to msSmallMalloc()s in mapogcfiltercommon.c