cppcheck analysis of transfig_3.2.5.c-1.dsc
- ./fig2dev/colors.c:117 [error] - Common realloc mistake: "Xcolors" nulled but not freed upon failure
- ./fig2dev/colors.c:111 [error] - Resource leak: fp
- ./fig2dev/dev/gencgm.c:235 [error] - Memory leak: figname
- ./fig2dev/dev/genemf.c:2160 [error] - Array 'pnt[72]' index 72 out of bounds
- ./fig2dev/dev/genmap.c:184 [error] - Memory leak: basename
- ./fig2dev/dev/genmap.c:350 [error] - Uninitialized variable: last_x
- ./fig2dev/dev/genmap.c:350 [error] - Uninitialized variable: last_y
- ./fig2dev/dev/genshape.c:128 [error] - Common realloc mistake: "shapes" nulled but not freed upon failure
- ./fig2dev/dev/genshape.c:166 [error] - Common realloc mistake: "shapegroups" nulled but not freed upon failure
- ./fig2dev/dev/genshape.c:272 [error] - Common realloc mistake: "points" nulled but not freed upon failure
- ./fig2dev/dev/genshape.c:621 [error] - Common realloc mistake: "intersect_points" nulled but not freed upon failure
- ./fig2dev/dev/genshape.c:764 [error] - Common realloc mistake: "fips" nulled but not freed upon failure
- ./fig2dev/dev/genshape.c:1110 [error] - Common realloc mistake: "scanlines" nulled but not freed upon failure
- ./fig2dev/dev/readpng.c:165 [error] - Memory leak: row_pointers
- ./transfig/sys.c:39 [error] - Resource leak: ls
- ./transfig/txfile.c:73 [style] - Redundant assignment of "to" in switch
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:19:17 +0000, based on results by cppcheck 1.46