cppcheck analysis of cmake_2.8.1-5.dsc
- ./Source/CPack/cmCPackGenerator.cxx:334 [style] - The iterator incrementing is suspicious - it is incremented at line 334 and then at line 329 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.
- ./Source/CPack/cmCPackGenerator.cxx:497 [style] - The iterator incrementing is suspicious - it is incremented at line 497 and then at line 478 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.
- ./Source/CPack/cmCPackNSISGenerator.cxx:451 [style] - The iterator incrementing is suspicious - it is incremented at line 451 and then at line 448 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.
- ./Source/CPack/cmCPackNSISGenerator.cxx:524 [style] - The iterator incrementing is suspicious - it is incremented at line 524 and then at line 511 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.
- ./Source/CPack/cmCPackOSXX11Generator.cxx:67 [style] - The iterator incrementing is suspicious - it is incremented at line 67 and then at line 64 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.
- ./Source/CTest/cmCTestRunTest.cxx:94 [error] - Memory leak: out
- ./Source/CursesDialog/ccmake.cxx:86 [error] - Uninitialized variable: x
- ./Source/CursesDialog/ccmake.cxx:168 [error] - Uninitialized variable: x
- ./Source/CursesDialog/ccmake.cxx:169 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:74 [error] - Array 'bar[512]' index 512 out of bounds
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:82 [error] - Array 'version[512]' index 512 out of bounds
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:53 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:65 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:96 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:97 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:114 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesLongMessageForm.cxx:133 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:379 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:380 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:471 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:473 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:638 [error] - Uninitialized variable: xi
- ./Source/CursesDialog/cmCursesMainForm.cxx:685 [error] - Uninitialized variable: xx
- ./Source/CursesDialog/cmCursesMainForm.cxx:715 [error] - Uninitialized variable: xi
- ./Source/CursesDialog/cmCursesMainForm.cxx:744 [error] - Uninitialized variable: xx
- ./Source/CursesDialog/cmCursesStringWidget.cxx:216 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesStringWidget.cxx:217 [error] - Uninitialized variable: x
- ./Source/cmSystemTools.cxx:1768 [error] - Resource leak: fd
- ./Source/cmSystemTools.cxx:1763 [error] - Resource leak: fd
- ./Source/cmake.cxx:1871 [style] - The iterator incrementing is suspicious - it is incremented at line 1871 and then at line 1866 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.
- ./Source/kwsys/EncodeExecutable.c:44 [error] - Resource leak: ifp
- ./Source/kwsys/ProcessUNIX.c:1887 [error] - Resource leak: fout
- ./Tests/CTestTestCrash/crash.cxx:5 [error] - Null pointer dereference
- ./Tests/CTestTestScheduler/sleep.c:16 [error] - Uninitialized variable: time
- ./Utilities/cmcurl/Testing/sepheaders.c:59 [error] - Resource leak: headerfile
- ./Utilities/cmcurl/multi.c:1916 [error] - Possible null pointer dereference: p - otherwise it is redundant to check if p is null at line 1941
- ./Utilities/cmexpat/xmlparse.c:1745 [error] - Uninitialized variable: buf
- ./Utilities/cmtar/append.c:276 [error] - Resource leak: filefd
- ./Utilities/cmtar/extract.c:334 [error] - Resource leak: fdout
- ./Utilities/cmtar/libtar.c:112 [error] - Resource leak: fd
- ./Utilities/cmtar/libtar.c:107 [error] - Resource leak: fd
- ./Utilities/cmzlib/gzio.c:149 [error] - Memory leak: s.path
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:13:06 +0000, based on results by cppcheck 1.46