cppcheck analysis of csound_5.13.0~dfsg-2.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:616 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:623 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:635 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:649 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:668 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:724 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:769 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/rdorch.c:837 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1567 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1581 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1641 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./Engine/sread.c:1681 [error] - Common realloc mistake: "mname" nulled but not freed upon failure
- ./InOut/rtalsa.c:492 [error] - Resource leak: f
- ./InOut/rtalsa.c:772 [error] - Uninitialized variable: dev
- ./Opcodes/gab/gab.c:732 [error] - Uninitialized variable: n
- ./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:430 [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:485 [error] - Invalid number of character ({) when these macros are defined: 'OLPC'.
- ./Opcodes/ugens9.c:387 [error] - Division by zero
- ./Opcodes/urandom.c:46 [error] - Resource leak: ur
- ./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 Fri, 11 Feb 2011 06:58:03 +0000, based on results by cppcheck 1.46