cppcheck analysis of plplot_5.9.5-4.dsc
- ./bindings/c++/plstream.cc:1202 [error] - Mismatching allocation and deallocation: loc_draw
- ./bindings/c++/plstream.cc:1217 [error] - Mismatching allocation and deallocation: loc_draw
- ./bindings/c++/plstream.cc:1368 [error] - Mismatching allocation and deallocation: loc_rev
- ./bindings/c++/plstream.cc:1392 [error] - Mismatching allocation and deallocation: loc_rev
- ./bindings/c++/plstream.cc:1424 [error] - Mismatching allocation and deallocation: loc_rev
- ./bindings/octave/massage.c:70 [error] - Resource leak: fp
- ./bindings/tcl/tclAPI.c:630 [error] - Memory leak: buf
- ./bindings/tcl/tclAPI.c:616 [error] - Memory leak: buf
- ./bindings/wxwidgets/wxPLplotwindow.cpp:160 [error] - Resource leak: sfile
- ./drivers/wxwidgets.cpp:504 [error] - Memory leak: dev
- ./examples/c++/x09.cc:269 [error] - Mismatching allocation and deallocation: xg1
- ./examples/c++/x09.cc:268 [error] - Mismatching allocation and deallocation: yg1
- ./examples/c++/x20.cc:333 [error] - Mismatching allocation and deallocation: x
- ./examples/c++/x20.cc:332 [error] - Mismatching allocation and deallocation: y
- ./examples/c++/x28.cc:398 [error] - Mismatching allocation and deallocation: x
- ./examples/c++/x28.cc:399 [error] - Mismatching allocation and deallocation: y
- ./lib/nistcd/cd.c:349 [error] - Memory leak: tb
- ./lib/nistcd/cdexpert.c:47 [error] - Resource leak: outf
- ./lib/nn/nncommon.c:138 [error] - Memory leak: sumx
- ./lib/nn/nncommon.c:138 [error] - Memory leak: sumy
- ./lib/nn/nncommon.c:138 [error] - Memory leak: sumz
- ./lib/nn/nncommon.c:138 [error] - Memory leak: count
- ./lib/qsastime/tai-utc-gen.c:179 [error] - Memory leak: leap_sec
- ./src/plcore.c:819 [error] - Undefined behaviour: buf 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.
- ./src/plcore.c:2427 [error] - Resource leak: fp_drvdb
- ./src/plcore.c:2454 [error] - Resource leak: dp_drvdir
- ./src/plot3d.c:533 [error] - Common realloc mistake: "zz" nulled but not freed upon failure
- ./src/plot3d.c:1093 [error] - Common realloc mistake: "uu" nulled but not freed upon failure
- ./src/plot3d.c:1094 [error] - Common realloc mistake: "vv" nulled but not freed upon failure
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:17:53 +0000, based on results by cppcheck 1.46