cppcheck analysis of perl-tk_804.028-6.dsc
- ./JPEG/jpeg/cjpeg.c:606 [possible error] - Resource leak: input_file
- ./JPEG/jpeg/cjpeg.c:606 [possible error] - Resource leak: output_file
- ./JPEG/jpeg/djpeg.c:616 [possible error] - Resource leak: input_file
- ./JPEG/jpeg/djpeg.c:616 [possible error] - Resource leak: output_file
- ./JPEG/jpeg/jpegtran.c:504 [possible error] - Resource leak: input_file
- ./JPEG/jpeg/jpegtran.c:504 [possible error] - Resource leak: output_file
- ./JPEG/jpeg/wrjpgcom.c:583 [error] - Memory leak: comment_arg
- ./JPEG/jpeg/wrjpgcom.c:583 [possible error] - Resource leak: comment_file
- ./PNG/libpng/contrib/pngminus/png2pnm.c:160 [possible error] - Resource leak: fp_al
- ./PNG/libpng/contrib/pngminus/pnm2png.c:159 [possible error] - Resource leak: fp_al
- ./PNG/zlib/examples/gzappend.c:458 [possible error] - Resource leak: fd
- ./pTk/config/Hstrdup.c:10 [error] - Memory leak: p
- ./pTk/mTk/additions/imgJPEG.c:1266 [error] - Resource leak: f
- ./pTk/mTk/additions/imgPNG.c:560 [error] - Resource leak: outfile
- ./pTk/mTk/additions/imgPS.c:195 [error] - Array 'buf[41]' index 41 out of bounds
- ./pTk/mTk/generic/tkCanvArc.c:884 [error] - Possible null pointer dereference: tsoffset - otherwise it is redundant to check if tsoffset is null at line 901
- ./pTk/mTk/tclGeneric/tclDate.c:1357 [possible error] - Memory leak: newTclDates
- ./pTk/mTk/tclGeneric/tclDate.c:1357 [possible error] - Memory leak: newTclDatev
- ./pTk/mTk/tixGeneric/tixGrid.c:2825 [error] - Array 'offs[2]' index 2 out of bounds
- ./pTk/mTk/tixGeneric/tixUtils.c:725 [error] - Uninitialized variable: newVal
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:00:10 +0000, based on results by cppcheck 1.41-modif