cppcheck analysis of audacity_1.3.12-6.dsc
- ./lib-src/libnyquist/nyquist/cmt/seq.c:59 [error] - Possible null pointer dereference: chunk - otherwise it is redundant to check if chunk is null at line 61
- ./lib-src/libnyquist/nyquist/ffts/Matlab-testing/conv2dTest.c:115 [error] - Resource leak: fdataout
- ./lib-src/libnyquist/nyquist/ffts/Matlab-testing/convTest.c:112 [error] - Resource leak: fdataout
- ./lib-src/libnyquist/nyquist/ffts/Matlab-testing/rfft2dTestML.c:101 [error] - Memory leak: a
- ./lib-src/libnyquist/nyquist/ffts/Matlab-testing/rfft2dTestML.c:101 [error] - Resource leak: fdataout
- ./lib-src/libnyquist/nyquist/ffts/Numerical-Recipes-testing/fftTest.c:120 [error] - Memory leak: a1
- ./lib-src/libnyquist/nyquist/ffts/Numerical-Recipes-testing/fftTest2d.c:129 [error] - Memory leak: a1
- ./lib-src/libnyquist/nyquist/ffts/Numerical-Recipes-testing/fftTest3d.c:134 [error] - Memory leak: a1
- ./lib-src/libnyquist/nyquist/nyqsrc/f0.cpp:137 [error] - Mismatching allocation and deallocation: results
- ./lib-src/libnyquist/nyquist/nyqsrc/nyx.c:1121 [error] - Dangerous usage of 'bmode' (strncpy doesn't always 0-terminate it)
- ./lib-src/libnyquist/nyquist/nyqsrc/sndwrite.c:224 [error] - Deallocating a deallocated pointer: buf
- ./lib-src/libnyquist/nyquist/nyqstk/instr.cpp:53 [error] - Memory leak: in
- ./lib-src/libnyquist/nyquist/nyqstk/stkint.cpp:33 [error] - Memory leak: eff
- ./lib-src/libnyquist/nyx.c:1206 [error] - Dangerous usage of 'bmode' (strncpy doesn't always 0-terminate it)
- ./lib-src/libresample/tests/compareresample.c:97 [error] - Memory leak: dst_rabbit
- ./lib-src/libscorealign/curvefit.cpp:63 [error] - Memory leak: Curvefit::p1_cache
- ./lib-src/libscorealign/curvefit.cpp:64 [error] - Memory leak: Curvefit::p2_cache
- ./lib-src/libscorealign/curvefit.cpp:65 [error] - Memory leak: Curvefit::d_cache
- ./lib-src/libscorealign/curvefit.cpp:66 [error] - Memory leak: Curvefit::x
- ./lib-src/libscorealign/gen_chroma.cpp:338 [error] - Memory leak: bin_map
- ./lib-src/libvamp/host/vamp-simple-host.cpp:473 [error] - Memory leak: filebuf
- ./lib-src/mod-script-pipe/PipeServer.cpp:156 [error] - Resource leak: fromFifo
- ./lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c:734 [error] - Common realloc mistake: "hwDevInfos" nulled but not freed upon failure
- ./lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c:801 [error] - Common realloc mistake: "hwDevInfos" nulled but not freed upon failure
- ./lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c:650 [error] - Common realloc mistake: "jackErr_" nulled but not freed upon failure
- ./lib-src/portaudio-v19/src/hostapi/wdmks/pa_win_wdmks.c:1909 [error] - Uninitialized variable: wdmHostApi
- ./lib-src/portmidi/pm_linux/finddefault.c:91 [error] - Memory leak: full_name
- ./lib-src/portmidi/pm_mac/readbinaryplist.c:353 [error] - Resource leak: file
- ./lib-src/portmidi/pm_test/test.c:23 [error] - Null pointer dereference
- ./lib-src/portmidi/porttime/ptmacosx_cf.c:97 [error] - Memory leak: params
- ./src/AudacityApp.cpp:213 [error] - Null pointer dereference
- ./src/FileIO.cpp:179 [error] - Possible null pointer dereference: ==
- ./src/FileIO.cpp:188 [error] - Possible null pointer dereference: ==
- ./src/Menus.cpp:2504 [error] - Memory leak: dist
- ./src/Theme.cpp:1047 [error] - Null pointer dereference
- ./src/Theme.cpp:1054 [error] - Null pointer dereference
- ./src/TrackPanel.cpp:5275 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 5277
- ./src/WaveTrack.cpp:1222 [error] - Memory leak: newClip
- ./src/widgets/Grid.cpp:31 [error] - instance of "TimeEditor" object destroyed immediately
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:12:30 +0000, based on results by cppcheck 1.46