cppcheck analysis of tgif_4.1.45-2.dsc
- ./arc.c:2139 [error] - Memory leak: ctm
- ./box.c:761 [error] - Memory leak: ctm
- ./cmd.c:1686 [possible error] - Memory leak: composite_cmd
- ./convxim.c:267 [possible error] - Memory leak: pxi
- ./cutpaste.c:898 [error] - Memory leak: cut_buffer
- ./cutpaste.c:2909 [error] - Memory leak: pEditAttrInfo
- ./dialog.c:1335 [possible error] - Memory leak: real_msg
- ./edit.c:1641 [possible error] - Memory leak: vs
- ./edit.c:1747 [possible error] - Memory leak: tmp_smooth
- ./edit.c:2027 [possible error] - Memory leak: vs
- ./edit.c:2172 [possible error] - Memory leak: tmp_smooth
- ./exec.c:3090 [possible error] - Memory leak: buf
- ./file.c:770 [possible error] - Resource leak: fp2
- ./file.c:6006 [possible error] - Resource leak: epsi_fd
- ./http.c:816 [possible error] - Resource leak: fp
- ./http.c:1040 [error] - Memory leak: pthli
- ./import.c:346 [possible error] - Memory leak: pii
- ./mainloop.c:559 [error] - Memory leak: cmd
- ./mainloop.c:644 [possible error] - Memory leak: cmd
- ./mainloop.c:614 [error] - Mismatching allocation and deallocation: tmp_fname
- ./mainloop.c:639 [error] - Mismatching allocation and deallocation: tmp_fname
- ./mark.c:747 [possible error] - Memory leak: tmp_smooth
- ./navigate.c:1214 [possible error] - Memory leak: full_fname
- ./oval.c:348 [possible error] - Memory leak: tmp_sv
- ./oval.c:954 [error] - Memory leak: ctm
- ./poly.c:3700 [possible error] - Memory leak: smooth
- ./polygon.c:1321 [possible error] - Memory leak: smooth
- ./rcbox.c:926 [error] - Memory leak: ctm
- ./remote.c:573 [error] - Deallocating a deallocated pointer: tmp_fname
- ./rmcast/mcastproxy/mcastproxy.c:185 [error] - Resource leak: fp
- ./rmcast/src/rmcache.c:753 [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.
- ./rmcast/tgif/mainloop.c:559 [error] - Memory leak: cmd
- ./rmcast/tgif/mainloop.c:644 [possible error] - Memory leak: cmd
- ./rmcast/tgif/mainloop.c:667 [error] - Resource leak: fp
- ./stretch.c:941 [possible error] - Memory leak: smooth
- ./stretch.c:4364 [error] - Memory leak: orig_vs
- ./text.c:3171 [possible error] - Array index out of bounds
- ./text.c:5167 [possible error] - Memory leak: text_ptr
- ./text.c:5035 [possible error] - Memory leak: ctm
- ./tgtwb5dl.c:271 [possible error] - Memory leak: pblii
- ./vms_comp.c:195 [error] - Memory leak: ns
- ./xbitmap.c:2852 [possible error] - Resource leak: tmpl_fp
- ./xbitmap.c:3479 [possible error] - Memory leak: bits
- ./xbitmap.c:3722 [possible error] - Resource leak: fp
- ./xbitmap.c:4039 [possible error] - Resource leak: fp
- ./xbitmap.c:5003 [error] - Memory leak: ctm
- ./xbitmap.c:5361 [error] - Memory leak: filename
- ./xpixmap.c:2722 [possible error] - Memory leak: line
- ./xpixmap.c:2513 [error] - Memory leak: pixels_used
- ./xpixmap.c:3026 [error] - Memory leak: ctm
- ./xpixmap.c:3525 [error] - Memory leak: ctm
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:03:04 +0000, based on results by cppcheck 1.41-modif