cppcheck analysis of lush_1.2.1-7+cvs20080204.dsc
- ./packages/sn28/examples/nettool/NetTDNN.c:92 [error] - Buffer access out-of-bounds: layer_3
- ./packages/sn28/src/codebook.c:166 [error] - Array 'd[1]' index 1 out of bounds
- ./packages/svm/lasvm/kcache.c:229 [error] - Array index -1 is out of bounds
- ./packages/svm/lasvm/kcache.c:331 [error] - Array index -1 is out of bounds
- ./packages/svm/libsvm/svm.cpp:1559 [error] - Common realloc mistake: "label" nulled but not freed upon failure
- ./packages/svm/libsvm/svm.cpp:1560 [error] - Common realloc mistake: "count" nulled but not freed upon failure
- ./packages/svm/libsvm/svm.cpp:1927 [error] - Common realloc mistake: "label" nulled but not freed upon failure
- ./packages/svm/libsvm/svm.cpp:1928 [error] - Common realloc mistake: "count" nulled but not freed upon failure
- ./src/classify.c:68 [error] - Uninitialized variable: p
- ./src/classify.c:99 [error] - Uninitialized variable: p1
- ./src/classify.c:99 [error] - Uninitialized variable: p2
- ./src/classify.c:164 [error] - Uninitialized variable: p
- ./src/classify.c:315 [error] - Uninitialized variable: p
- ./src/classify.c:336 [error] - Uninitialized variable: p
- ./src/classify.c:361 [error] - Uninitialized variable: p
- ./src/classify.c:388 [error] - Uninitialized variable: p1
- ./src/classify.c:388 [error] - Uninitialized variable: p2
- ./src/classify.c:412 [error] - Uninitialized variable: p1
- ./src/classify.c:412 [error] - Uninitialized variable: p2
- ./src/classify.c:439 [error] - Uninitialized variable: p
- ./src/classify.c:474 [error] - Uninitialized variable: p
- ./src/classify.c:494 [error] - Uninitialized variable: p1
- ./src/classify.c:494 [error] - Uninitialized variable: p2
- ./src/classify.c:528 [error] - Uninitialized variable: p
- ./src/classify.c:542 [error] - Uninitialized variable: p1
- ./src/classify.c:542 [error] - Uninitialized variable: p2
- ./src/classify.c:570 [error] - Uninitialized variable: p
- ./src/classify.c:584 [error] - Uninitialized variable: p1
- ./src/classify.c:584 [error] - Uninitialized variable: p2
- ./src/classify.c:615 [error] - Uninitialized variable: p
- ./src/classify.c:630 [error] - Uninitialized variable: p1
- ./src/classify.c:630 [error] - Uninitialized variable: p2
- ./src/classify.c:668 [error] - Uninitialized variable: p1
- ./src/classify.c:668 [error] - Uninitialized variable: p2
- ./src/comdraw_driver.c:599 [error] - Buffer access out-of-bounds
- ./src/comdraw_driver.c:601 [error] - Buffer access out-of-bounds
- ./src/comdraw_driver.c:926 [error] - Buffer access out-of-bounds
- ./src/comdraw_driver.c:929 [error] - Buffer access out-of-bounds
- ./src/comdraw_driver.c:932 [error] - Buffer access out-of-bounds
- ./src/comdraw_driver.c:130 [error] - Memory leak: node
- ./src/comdraw_driver.c:903 [error] - Memory leak: t
- ./src/comdraw_driver.c:1091 [error] - Memory leak: t
- ./src/comdraw_driver.c:274 [error] - Uninitialized variable: writereturn
- ./src/eval.c:558 [error] - Uninitialized variable: sym
- ./src/eval.c:587 [error] - Uninitialized variable: sym
- ./src/io.c:377 [error] - Dangerous usage of 'question' (strncpy doesn't always 0-terminate it)
- ./src/oostruct.c:753 [error] - Uninitialized variable: cl
- ./src/oostruct.c:776 [error] - Uninitialized variable: cl
- ./src/unix.c:1365 [error] - Memory leak: s
- ./src/unix.c:1297 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 02 Jan 2011 05:58:08 +0000, based on results by cppcheck 1.46