cppcheck analysis of netpbm-free_10.0-12.2.dsc
- ./buildtools/libopt.c:379 [error] - Memory leak: directory
- ./buildtools/libopt.c:379 [error] - Memory leak: filename
- ./pbm/libpbm5.c:1006 [error] - Memory leak: glyph
- ./pbm/libpm.c:789 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./pbm/macptopbm.c:100 [error] - Array 'Pic[720][72]' index Pic[720][72] out of bounds
- ./pbm/pbmmask.c:164 [error] - Common realloc mistake: "fcols" nulled but not freed upon failure
- ./pbm/pbmmask.c:166 [error] - Common realloc mistake: "frows" nulled but not freed upon failure
- ./pbm/pbmtextps.c:131 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./pbm/pbmtextps.c:299 [error] - Mismatching allocation and deallocation: pnmcrop
- ./pbm/thinkjettopbm.c:776 [error] - Common realloc mistake: "rows" nulled but not freed upon failure
- ./pnm/fiasco/input/read.c:135 [error] - Uninitialized variable: buffer
- ./pnm/fiasco/input/read.c:140 [error] - Uninitialized variable: buffer
- ./pnm/fiasco/lib/dither.c:154 [error] - Memory leak: render
- ./pnm/fiasco/lib/image.c:203 [error] - Buffer access out-of-bounds: image.id
- ./pnm/fiasco/params.c:241 [error] - Possible null pointer dereference: long_options
- ./pnm/libpnm4.c:215 [error] - Memory leak: beimage
- ./pnm/libpnm4.c:38 [error] - Memory leak: p.pr_data
- ./pnm/pnmsmooth.c:128 [error] - Resource leak: fd
- ./pnm/pnmtopng.c:666 [error] - Uninitialized variable: retval
- ./pnm/pstopnm.c:749 [error] - Memory leak: outfile_arg
- ./ppm/picttoppm.c:1422 [error] - Memory leak: bi
- ./ppm/picttoppm.c:3301 [error] - Resource leak: fp
- ./ppm/ppmtompeg/param.c:879 [error] - Resource leak: fp
- ./ppm/ppmtompeg/psearch.c:941 [error] - Memory leak: columnTotals
- ./ppm/ppmtompeg/psearch.c:991 [error] - Memory leak: columnTotals
- ./ppm/ppmtompeg/psearch.c:1041 [error] - Memory leak: columnTotals
- ./ppm/ppmtompeg/readframe.c:256 [error] - Mismatching allocation and deallocation: ifp
- ./ppm/ppmtompeg/specifics.c:409 [error] - Memory leak: new_blk
- ./ppm/ppmtowinicon.c:778 [error] - Memory leak: MSIconData
- ./ppm/winicontoppm.c:844 [error] - Memory leak: outputFileBase
- ./ppm/ximtoppm.c:401 [error] - Memory leak: line
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 11:58:09 +0000, based on results by cppcheck 1.46