cppcheck analysis of mapserver_5.6.5-2.dsc
- ./cgiutil.c:101 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./cgiutil.c:301 [error] - Common realloc mistake: "word" nulled but not freed upon failure
- ./cgiutil.c:307 [error] - Common realloc mistake: "word" nulled but not freed upon failure
- ./mapchart.c:595 [error] - Memory leak: values
- ./mapdraw.c:1179 [error] - Memory leak: colorbuffer
- ./mapdraw.c:1179 [error] - Memory leak: mindistancebuffer
- ./mapfile.c:595 [error] - Memory leak: node
- ./mapfile.c:701 [error] - Memory leak: node
- ./mapgdal.c:229 [error] - Memory leak: pabyAlphaLine
- ./mapgraticule.c:663 [error] - Memory leak: psValues
- ./mapio.c:352 [error] - Memory leak: largerBuf
- ./mapio.c:410 [error] - Memory leak: largerBuf
- ./mapio.c:464 [error] - Memory leak: largerBuf
- ./mapjoin.c:366 [error] - Resource leak: stream
- ./mappdf.c:181 [error] - Memory leak: driver
- ./mappdf.c:1466 [error] - Memory leak: driver
- ./mappool.c:208 [error] - Common realloc mistake: "connections" nulled but not freed upon failure
- ./mappostgis.c:935 [error] - Memory leak: strBox
- ./mappostgis.c:1250 [error] - Memory leak: strLimit
- ./mappostgis.c:1259 [error] - Memory leak: strSRID
- ./mapprimitive.c:1167 [error] - Memory leak: intersect
- ./mapscript/php3/php_mapscript.c:5477 [error] - Possible null pointer dereference: self
- ./mapscript/php3/php_mapscript.c:8567 [error] - Possible null pointer dereference: layer
- ./mapscript/php3/php_mapscript.c:9023 [error] - Possible null pointer dereference: pasValues
- ./mapscript/php3/php_mapscript.c:9027 [error] - Possible null pointer dereference: pasValues
- ./mapscript/php3/php_mapscript.c:9029 [error] - Possible null pointer dereference: pasValues
- ./mapscript/php3/php_mapscript.c:15412 [error] - Possible null pointer dereference: parent_class
- ./mapscript/php3/php_mapscript.c:15416 [error] - Possible null pointer dereference: parent_class
- ./mapscript/php3/php_mapscript.c:5031 [error] - Deallocating a deallocated pointer: panIndexes
- ./mapsde.c:334 [error] - Common realloc mistake: "lcache" nulled but not freed upon failure
- ./mapsde.c:237 [error] - Memory leak: full_column_name
- ./mapsde.c:528 [error] - Memory leak: part_offsets
- ./mapsde.c:528 [error] - Memory leak: subpart_offsets
- ./mapsde.c:1009 [error] - Memory leak: full_filter
- ./mapsde.c:1152 [error] - Memory leak: poolinfo
- ./mapsde.c:2012 [error] - Memory leak: all_itemdefs
- ./mapshape.c:292 [error] - Memory leak: pabyBuf
- ./mapshape.c:522 [error] - Memory leak: pszBasename
- ./mapshape.c:466 [error] - Memory leak: pszFullname
- ./mapshape.c:471 [error] - Resource leak: fpSHP
- ./mapshape.c:1771 [error] - Memory leak: sourcename
- ./mapshape.c:2431 [error] - Memory leak: shpfile
- ./mapstring.c:949 [error] - Common realloc mistake: "newstring" nulled but not freed upon failure
- ./mapsvg.c:124 [error] - Memory leak: image
- ./mapsvg.c:1755 [error] - Resource leak: stream
- ./mapswf.c:1330 [error] - Memory leak: panIndex
- ./mapswf.c:3439 [error] - Memory leak: driver
- ./maptemplate.c:614 [error] - Memory leak: pszEndTag
- ./maptemplate.c:858 [error] - Memory leak: postTag
- ./maptemplate.c:1221 [error] - Memory leak: tagValue
- ./maptemplate.c:1391 [error] - Memory leak: tagValue
- ./maptemplate.c:1598 [error] - Memory leak: pointFormat1
- ./maptemplate.c:1598 [error] - Memory leak: pointFormat2
- ./maptemplate.c:2521 [error] - Resource leak: stream
- ./maptemplate.c:2530 [error] - Memory leak: file
- ./maptemplate.c:2510 [error] - Memory leak: panCurrentDrawingOrder
- ./maptime.c:232 [error] - Memory leak: limitedpatternindice
- ./maptree.c:548 [error] - Memory leak: node
- ./maptree.c:596 [error] - Memory leak: disktree
- ./maputil.c:478 [error] - Common realloc mistake: "classgroup" nulled but not freed upon failure
- ./maputil.c:915 [error] - Common realloc mistake: "aiIndex" nulled but not freed upon failure
- ./maputil.c:384 [error] - Memory leak: tmpstr2
- ./mapwcs11.c:1031 [error] - Memory leak: field_id
- ./mapxbase.c:173 [error] - Memory leak: pszDBFFilename
- ./renderers/agg/include/agg_basics.h:135 [error] - Uninitialized variable: t
- ./renderers/agg/include/agg_basics.h:136 [error] - Uninitialized variable: t
- ./renderers/agg/include/agg_basics.h:142 [error] - Uninitialized variable: t
- ./renderers/agg/include/agg_basics.h:143 [error] - Uninitialized variable: t
- ./renderers/agg/src/agg_gsv_text.cpp:635 [style] - Redundant assignment of "m_status" in switch
- ./shptreetst.c:70 [error] - Memory leak: pszBasename
- ./shptreevis.c:72 [error] - Memory leak: pszBasename
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 08 Jan 2011 06:58:07 +0000, based on results by cppcheck 1.46