cppcheck analysis of tgif_4.2.2-3.dsc
- ./arc.c:2144 [error] - Memory leak: ctm
- ./box.c:766 [error] - Memory leak: ctm
- ./cutpaste.c:1061 [error] - Common realloc mistake: "cut_buffer" nulled but not freed upon failure
- ./cutpaste.c:2637 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./cutpaste.c:2646 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./cutpaste.c:952 [error] - Memory leak: cut_buffer
- ./cutpaste.c:3165 [error] - Memory leak: pEditAttrInfo
- ./edit.c:3055 [error] - Memory leak: vs
- ./edit.c:3423 [error] - Memory leak: vs
- ./exec.c:914 [error] - Common realloc mistake: "return_str" nulled but not freed upon failure
- ./exec.c:931 [error] - Common realloc mistake: "return_str" nulled but not freed upon failure
- ./exec.c:958 [error] - Common realloc mistake: "return_str" nulled but not freed upon failure
- ./exec.c:10119 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./exec.c:3223 [error] - Memory leak: buf
- ./file.c:3673 [error] - Common realloc mistake: "savedComments" nulled but not freed upon failure
- ./file.c:6404 [error] - Resource leak: in_fp
- ./font.c:1608 [error] - Common realloc mistake: "gaPSFontAliases" nulled but not freed upon failure
- ./font.c:1859 [error] - Common realloc mistake: "gaPSFontNeedCharSubs" nulled but not freed upon failure
- ./font.c:2315 [error] - Common realloc mistake: "fontFamilies" nulled but not freed upon failure
- ./font.c:3781 [error] - Common realloc mistake: "fontSzUnits" nulled but not freed upon failure
- ./http.c:814 [error] - Resource leak: fp
- ./http.c:755 [error] - Memory leak: buf
- ./imgproc.c:613 [error] - Common realloc mistake: "gpHistogram" nulled but not freed upon failure
- ./ini.c:763 [error] - Memory leak: ptisi
- ./mainloop.c:151 [error] - Common realloc mistake: "extraWinInfo" nulled but not freed upon failure
- ./mainloop.c:683 [error] - Resource leak: fp
- ./mark.c:891 [error] - Memory leak: tmp_smooth
- ./navigate.c:1214 [error] - Memory leak: full_fname
- ./oval.c:348 [error] - Memory leak: tmp_sv
- ./oval.c:959 [error] - Memory leak: ctm
- ./page.c:2442 [error] - Common realloc mistake: "pages_to_fix" nulled but not freed upon failure
- ./poly.c:1344 [error] - Common realloc mistake: "v" nulled but not freed upon failure
- ./poly.c:1376 [error] - Common realloc mistake: "freehand_vs" nulled but not freed upon failure
- ./poly.c:1616 [error] - Common realloc mistake: "v" nulled but not freed upon failure
- ./poly.c:5170 [error] - Memory leak: smooth
- ./polygon.c:1466 [error] - Common realloc mistake: "pv" nulled but not freed upon failure
- ./polygon.c:2152 [error] - Memory leak: smooth
- ./rcbox.c:931 [error] - Memory leak: ctm
- ./remote.c:1711 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./remote.c:1721 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./rmcast/src/rmcache.c:704 [error] - Undefined behaviour: aux_str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./special.c:3085 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./spline.c:530 [error] - Common realloc mistake: "splineDoubleVs" nulled but not freed upon failure
- ./tangram2.c:355 [error] - Common realloc mistake: "packet_queue" nulled but not freed upon failure
- ./text.c:5482 [error] - Memory leak: ctm
- ./util.c:445 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./vms_comp.c:195 [error] - Memory leak: ns
- ./xbitmap.c:202 [error] - Common realloc mistake: "pixelValue" nulled but not freed upon failure
- ./xbitmap.c:203 [error] - Common realloc mistake: "colorIndexToDumpIndex" nulled but not freed upon failure
- ./xbitmap.c:205 [error] - Common realloc mistake: "dumpIndexToColorIndex" nulled but not freed upon failure
- ./xbitmap.c:209 [error] - Common realloc mistake: "colorChar" nulled but not freed upon failure
- ./xbitmap.c:212 [error] - Common realloc mistake: "colorChar" nulled but not freed upon failure
- ./xbitmap.c:5967 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./xbitmap.c:3669 [error] - Memory leak: thiserr
- ./xbitmap.c:3669 [error] - Memory leak: nexterr
- ./xbitmap.c:3669 [error] - Memory leak: bits
- ./xbitmap.c:4137 [error] - Resource leak: fp
- ./xbitmap.c:4369 [error] - Resource leak: fp
- ./xbitmap.c:5560 [error] - Memory leak: ctm
- ./xbitmap.c:5918 [error] - Memory leak: filename
- ./xpixmap.c:2692 [error] - Common realloc mistake: "colorPixels" nulled but not freed upon failure
- ./xpixmap.c:2693 [error] - Common realloc mistake: "xorColorPixels" nulled but not freed upon failure
- ./xpixmap.c:2695 [error] - Common realloc mistake: "colorLayerOn" nulled but not freed upon failure
- ./xpixmap.c:2700 [error] - Common realloc mistake: "tgifColors" nulled but not freed upon failure
- ./xpixmap.c:2702 [error] - Common realloc mistake: "tgifRequestedColors" nulled but not freed upon failure
- ./xpixmap.c:1873 [error] - Resource leak: ppm_fp
- ./xpixmap.c:1849 [error] - Memory leak: pcb
- ./xpixmap.c:3376 [error] - Resource leak: fp
- ./xpixmap.c:3549 [error] - Memory leak: pixels_used
- ./xpixmap.c:4062 [error] - Memory leak: ctm
- ./xpixmap.c:4601 [error] - Memory leak: ctm
- ./xpixmap.c:5144 [error] - Memory leak: ctm
- ./xprtfltr.c:320 [error] - Common realloc mistake: "whereToPrintPixmap" nulled but not freed upon failure
- ./z_intrf.c:174 [error] - Resource leak: out_fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 02 Jan 2011 16:58:23 +0000, based on results by cppcheck 1.46