cppcheck analysis of qtiplot_0.9.8.2-1.dsc
- ./qtiplot/src/analysis/FFT.cpp:111 [error] - Memory leak: amp
- ./qtiplot/src/analysis/Fit.cpp:725 [error] - Memory leak: lcl
- ./qtiplot/src/analysis/Fit.cpp:731 [error] - Memory leak: ucl
- ./qtiplot/src/analysis/Fit.cpp:844 [error] - Memory leak: lcl
- ./qtiplot/src/analysis/Fit.cpp:850 [error] - Memory leak: ucl
- ./qtiplot/src/analysis/Interpolation.cpp:247 [error] - Deallocating a deallocated pointer: xtemp
- ./qtiplot/src/analysis/Interpolation.cpp:248 [error] - Deallocating a deallocated pointer: ytemp
- ./qtiplot/src/analysis/Interpolation.cpp:249 [error] - Deallocating a deallocated pointer: p
- ./qtiplot/src/analysis/Interpolation.cpp:285 [error] - Deallocating a deallocated pointer: xtemp2
- ./qtiplot/src/analysis/Interpolation.cpp:286 [error] - Deallocating a deallocated pointer: ytemp2
- ./qtiplot/src/core/ApplicationWindow.cpp:4470 [error] - Possible null pointer dereference: w - otherwise it is redundant to check if w is null at line 4474
- ./qtiplot/src/core/ApplicationWindow.cpp:4488 [error] - Memory leak: w
- ./qtiplot/src/core/ApplicationWindow.cpp:4518 [error] - Memory leak: w
- ./qtiplot/src/matrix/MatrixModel.cpp:389 [error] - Common realloc mistake: "d_data" nulled but not freed upon failure
- ./qtiplot/src/matrix/MatrixModel.cpp:454 [error] - Common realloc mistake: "d_data" nulled but not freed upon failure
- ./qtiplot/src/plot2D/Graph.cpp:2449 [error] - Possible null pointer dereference: c - otherwise it is redundant to check if c is null at line 2450
- ./qtiplot/src/plot2D/ImageWidget.cpp:280 [style] - The iterator incrementing is suspicious - it is incremented at line 280 and then at line 251 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qtiplot/src/plot2D/LegendWidget.cpp:793 [style] - The iterator incrementing is suspicious - it is incremented at line 793 and then at line 772 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qtiplot/src/plot2D/PlotCurve.cpp:202 [style] - The iterator incrementing is suspicious - it is incremented at line 202 and then at line 149 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qtiplot/src/plot2D/QwtPieCurve.cpp:571 [style] - The iterator incrementing is suspicious - it is incremented at line 571 and then at line 546 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qtiplot/src/plot2D/ScaleDraw.cpp:451 [style] - Redundant assignment of "d_fmt" in switch
- ./qtiplot/src/plot2D/TexWidget.cpp:193 [style] - The iterator incrementing is suspicious - it is incremented at line 193 and then at line 166 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qtiplot/src/plot2D/dialogs/AxesDialog.cpp:1912 [error] - Possible null pointer dereference: d_graph - otherwise it is redundant to check if d_graph is null at line 1914
- ./qtiplot/src/scripting/ScriptWindow.cpp:206 [error] - Possible null pointer dereference: d_app - otherwise it is redundant to check if d_app is null at line 239
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:18:18 +0000, based on results by cppcheck 1.46