cppcheck analysis of csound_5.12.1~dfsg-5.dsc
- ./Engine/fgens.c:1535 [error] - Common realloc mistake: "x" nulled but not freed upon failure
- ./Engine/fgens.c:1536 [error] - Common realloc mistake: "y" nulled but not freed upon failure
- ./Engine/fgens.c:1537 [error] - Common realloc mistake: "z" nulled but not freed upon failure
- ./Engine/fgens.c:961 [error] - Memory leak: hsin
- ./Engine/namedins.c:1350 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./Engine/rdorch.c:615 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:622 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:634 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:648 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:667 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:723 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:768 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:836 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1552 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1566 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1626 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1666 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1546 [error] - Uninitialized variable: mname
- ./InOut/rtalsa.c:492 [error] - Resource leak: f
- ./InOut/rtalsa.c:771 [error] - Uninitialized variable: dev
- ./Opcodes/gab/radiobaton.c:204 [error] - Array 'args[9]' index 9 out of bounds
- ./Opcodes/p5glove.c:153 [error] - Possible null pointer dereference: glove
- ./Opcodes/partikkel.c:428 [error] - Buffer access out-of-bounds: p.wavetabs
- ./Opcodes/sfont.c:359 [error] - Passing value -16 to sqrt() leads to undefined result
- ./Opcodes/sfont.c:2230 [error] - Passing value -16 to sqrt() leads to undefined result
- ./Opcodes/signalflowgraph.cpp:479 [error] - Invalid number of character ({) when these macros are defined: 'OLPC'.
- ./Opcodes/ugens9.c:387 [error] - Division by zero
- ./Opcodes/vst4cs/src/fxbank.cpp:86 [error] - Memory leak: nBank
- ./Opcodes/vst4cs/src/fxbank.cpp:209 [error] - Resource leak: fp
- ./Opcodes/vst4cs/src/fxbank.cpp:209 [error] - Memory leak: nBank
- ./Opcodes/vst4cs/src/vsthost.cpp:462 [error] - Possible null pointer dereference: aeffect - otherwise it is redundant to check if aeffect is null at line 463
- ./examples/cplusplus/fl_controller.cpp:169 [error] - Buffer access out-of-bounds
- ./frontends/CsoundAC/Soundfile.hpp:41 [error] - syntax error
- ./frontends/cscore/cscoremain.c:84 [error] - Resource leak: insco
- ./frontends/cscore/cscoremain_MacOS9.c:79 [error] - Resource leak: insco
- ./frontends/cseditor/cseditor.cxx:1763 [error] - Memory leak: window
- ./frontends/csladspa/csladspa.cpp:412 [error] - Memory leak: paux
- ./frontends/csladspa/csladspa.cpp:412 [error] - Memory leak: ctlchn
- ./frontends/csladspa/csladspa.cpp:469 [error] - Resource leak: dip
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:675 [error] - Buffer access out-of-bounds: num_
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:432 [error] - Resource leak: f
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:428 [error] - Memory leak: name
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:447 [error] - Memory leak: csoundMessagesIn
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:447 [error] - Memory leak: csoundMessagesOut
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:703 [error] - Memory leak: temp
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:703 [error] - Memory leak: name
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:703 [error] - Memory leak: line_
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:760 [error] - Memory leak: temp2
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:760 [error] - Memory leak: line_
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:779 [error] - Memory leak: csoundMessagesIn
- ./frontends/fltk_gui/CsoundPerformanceSettingsPanel.cpp:779 [error] - Memory leak: csoundMessagesOut
- ./installer/linux/new_install.cxx:446 [error] - Uninitialized variable: d
- ./interfaces/Soundfile.hpp:37 [error] - syntax error
- ./util/atsa.c:1502 [error] - Passing value -2400 to log10() leads to undefined result
- ./util/het_import.c:83 [error] - Resource leak: infd
- ./util/heti_main.c:83 [error] - Resource leak: infd
- ./util/lpc_export.c:67 [error] - Resource leak: inf
- ./util/lpc_export.c:72 [error] - Resource leak: outf
- ./util/lpc_import.c:63 [error] - Resource leak: inf
- ./util/lpc_import.c:68 [error] - Resource leak: outf
- ./util/lpci_main.c:66 [error] - Resource leak: inf
- ./util/lpci_main.c:71 [error] - Resource leak: outf
- ./util/lpcx_main.c:66 [error] - Resource leak: inf
- ./util/lpcx_main.c:71 [error] - Resource leak: outf
- ./util/pvlook.c:48 [error] - Uninitialized variable: buf
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:13:17 +0000, based on results by cppcheck 1.46