cppcheck analysis of shogun_0.9.3-4.dsc
- ./src/libshogun/classifier/LDA.cpp:74 [error] - Memory leak: classidx_neg
- ./src/libshogun/classifier/LDA.cpp:74 [error] - Memory leak: classidx_pos
- ./src/libshogun/classifier/svm/LaRank.cpp:133 [error] - Array index -1 is out of bounds
- ./src/libshogun/classifier/svm/LaRank.cpp:246 [error] - Array index -1 is out of bounds
- ./src/libshogun/classifier/svm/SVM_libsvm.cpp:2581 [error] - Common realloc mistake: "label" nulled but not freed upon failure
- ./src/libshogun/classifier/svm/SVM_libsvm.cpp:2583 [error] - Common realloc mistake: "count" nulled but not freed upon failure
- ./src/libshogun/classifier/svm/SVM_libsvm.cpp:1470 [error] - Memory leak: class_count
- ./src/libshogun/classifier/svm/SVM_libsvm.cpp:1470 [error] - Memory leak: outputs
- ./src/libshogun/classifier/svm/SVM_libsvm.cpp:1995 [error] - Memory leak: class_sv_count
- ./src/libshogun/classifier/svm/ssl.cpp:520 [error] - Memory leak: Data_Labeled
- ./src/libshogun/classifier/svm/ssl.cpp:520 [error] - Memory leak: Outputs_Labeled
- ./src/libshogun/lib/Mathematics.cpp:41 [error] - Passing value 0.0 to log() leads to undefined result
- ./src/libshogunui/GUIHMM.cpp:240 [error] - Resource leak: outputfile
- ./src/libshogunui/GUIHMM.cpp:293 [error] - Resource leak: rocfile
- ./src/libshogunui/GUIHMM.cpp:836 [error] - Deallocating a deallocated pointer: p
- ./src/libshogunui/SGInterface.cpp:3878 [error] - Possible null pointer dereference: kernel - otherwise it is redundant to check if kernel is null at line 3879
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:36 +0000, based on results by cppcheck 1.46