cppcheck analysis of plplot_5.9.5-3.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 [possible error] - Resource leak: sfile
- ./drivers/pstex.c:71 [error] - Dangerous usage of 'ofile' (strncpy doesn't always 0-terminate it)
- ./drivers/wxwidgets_app.cpp:259 [possible error] - Memory leak: orientationMenu
- ./drivers/wxwidgets.h:436 [possible error] - Memory leak: wxPLplotFrame::m_panel
- ./drivers/wxwidgets.h:437 [possible error] - Memory leak: wxPLplotFrame::m_window
- ./drivers/wxwidgets.h:463 [possible error] - Memory leak: wxGetSizeDialog::spinControlWidth
- ./drivers/wxwidgets.h:464 [possible error] - Memory leak: wxGetSizeDialog::spinControlHeight
- ./examples/c++/wxPLplotDemo.cpp:156 [possible error] - Memory leak: frame
- ./examples/c++/wxPLplotDemo.cpp:110 [possible error] - Memory leak: MyFrame::plotwindow
- ./examples/c++/x01.cc:109 [possible error] - Memory leak: x01::pls
- ./examples/c++/x01cc.cc:159 [possible error] - Memory leak: x01cc::pls
- ./examples/c++/x02.cc:46 [possible error] - Memory leak: x02::pls
- ./examples/c++/x03.cc:42 [possible error] - Memory leak: x03::pls
- ./examples/c++/x04.cc:43 [possible error] - Memory leak: x04::pls
- ./examples/c++/x05.cc:42 [possible error] - Memory leak: x05::pls
- ./examples/c++/x06.cc:42 [possible error] - Memory leak: x06::pls
- ./examples/c++/x07.cc:47 [possible error] - Memory leak: x07::pls
- ./examples/c++/x08.cc:42 [possible error] - Memory leak: x08::pls
- ./examples/c++/x09.cc:269 [error] - Mismatching allocation and deallocation: xg1
- ./examples/c++/x09.cc:268 [error] - Mismatching allocation and deallocation: yg1
- ./examples/c++/x09.cc:42 [possible error] - Memory leak: x09::pls
- ./examples/c++/x10.cc:41 [possible error] - Memory leak: x10::pls
- ./examples/c++/x11.cc:42 [possible error] - Memory leak: x11::pls
- ./examples/c++/x12.cc:41 [possible error] - Memory leak: x12::pls
- ./examples/c++/x13.cc:45 [possible error] - Memory leak: x13::pls
- ./examples/c++/x14.cc:47 [possible error] - Memory leak: x14::pls1
- ./examples/c++/x14.cc:47 [possible error] - Memory leak: x14::pls2
- ./examples/c++/x15.cc:45 [possible error] - Memory leak: x15::pls
- ./examples/c++/x16.cc:42 [possible error] - Memory leak: x16::pls
- ./examples/c++/x17.cc:49 [possible error] - Memory leak: x17::pls
- ./examples/c++/x18.cc:45 [possible error] - Memory leak: x18::pls
- ./examples/c++/x19.cc:42 [possible error] - Memory leak: x19::pls
- ./examples/c++/x20.cc:333 [error] - Mismatching allocation and deallocation: x
- ./examples/c++/x20.cc:332 [error] - Mismatching allocation and deallocation: y
- ./examples/c++/x20.cc:48 [possible error] - Memory leak: x20::pls
- ./examples/c++/x21.cc:57 [possible error] - Memory leak: x21::pls
- ./examples/c++/x22.cc:49 [possible error] - Memory leak: x22::pls
- ./examples/c++/x23.cc:42 [possible error] - Memory leak: x23::pls
- ./examples/c++/x24.cc:55 [possible error] - Memory leak: x24::pls
- ./examples/c++/x25.cc:33 [possible error] - Memory leak: x25::pls
- ./examples/c++/x26.cc:110 [possible error] - Memory leak: x26::pls
- ./examples/c++/x27.cc:45 [possible error] - Memory leak: x27::pls
- ./examples/c++/x28.cc:398 [error] - Mismatching allocation and deallocation: x
- ./examples/c++/x28.cc:399 [error] - Mismatching allocation and deallocation: y
- ./examples/c++/x28.cc:36 [possible error] - Memory leak: x28::pls
- ./examples/c++/x29.cc:367 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./examples/c++/x29.cc:37 [possible error] - Memory leak: x29::pls
- ./examples/c++/x30.cc:40 [possible error] - Memory leak: x30::pls
- ./examples/c++/x31.cc:36 [possible error] - Memory leak: x31::pls
- ./examples/c/x29c.c:356 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./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/plline.c:1055 [possible error] - Memory leak: xclp
- ./src/plline.c:1055 [possible error] - Memory leak: yclp
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:42 +0000, based on results by cppcheck 1.41-modif