cppcheck analysis of cmake_2.8.4+dfsg.1-2.dsc
- ./Source/CPack/cmCPackGenerator.cxx:341 [style] - The iterator incrementing is suspicious - it is incremented at line 341 and then at line 335 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:547 [style] - The iterator incrementing is suspicious - it is incremented at line 547 and then at line 528 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:488 [style] - The iterator incrementing is suspicious - it is incremented at line 488 and then at line 485 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:568 [style] - The iterator incrementing is suspicious - it is incremented at line 568 and then at line 556 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:65 [style] - The iterator incrementing is suspicious - it is incremented at line 65 and then at line 62 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:96 [error] - Memory leak: out
- ./Source/CTest/cmParsePHPCoverage.cxx:162 [error] - Memory leak: s
- ./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:382 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:383 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:474 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:476 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesMainForm.cxx:641 [error] - Uninitialized variable: xi
- ./Source/CursesDialog/cmCursesMainForm.cxx:688 [error] - Uninitialized variable: xx
- ./Source/CursesDialog/cmCursesMainForm.cxx:718 [error] - Uninitialized variable: xi
- ./Source/CursesDialog/cmCursesMainForm.cxx:747 [error] - Uninitialized variable: xx
- ./Source/CursesDialog/cmCursesStringWidget.cxx:216 [error] - Uninitialized variable: x
- ./Source/CursesDialog/cmCursesStringWidget.cxx:217 [error] - Uninitialized variable: x
- ./Source/cmake.cxx:1923 [style] - The iterator incrementing is suspicious - it is incremented at line 1923 and then at line 1918 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:1895 [error] - Resource leak: fout
- ./Tests/CTestTestCrash/crash.cxx:5 [error] - Null pointer dereference
- ./Tests/CTestTestScheduler/sleep.c:16 [error] - Uninitialized variable: time
- ./Tests/CTestTestStopTime/sleep.c:16 [error] - Uninitialized variable: time
- ./Utilities/cmbzip2/bzip2recover.c:312 [error] - Buffer overrun possible for long cmd-line args
- ./Utilities/cmbzip2/unzcrash.c:141 [error] - Resource leak: f
- ./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/cmlibarchive/cpio/cmdline.c:346 [error] - Memory leak: user
- ./Utilities/cmlibarchive/cpio/test/main.c:671 [error] - Resource leak: f1
- ./Utilities/cmlibarchive/cpio/test/main.c:671 [error] - Resource leak: f2
- ./Utilities/cmlibarchive/cpio/test/main.c:337 [error] - Null pointer dereference
- ./Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c:238 [error] - Memory leak: le
- ./Utilities/cmlibarchive/libarchive/archive_read_open_filename.c:117 [error] - Resource leak: fd
- ./Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c:638 [error] - Buffer access out-of-bounds: header.magic
- ./Utilities/cmlibarchive/libarchive/test/main.c:668 [error] - Resource leak: f1
- ./Utilities/cmlibarchive/libarchive/test/main.c:668 [error] - Resource leak: f2
- ./Utilities/cmlibarchive/libarchive/test/main.c:334 [error] - Null pointer dereference
- ./Utilities/cmlibarchive/libarchive/test/test_acl_freebsd.c:213 [error] - Resource leak: fd
- ./Utilities/cmlibarchive/libarchive/test/test_extattr_freebsd.c:62 [error] - Resource leak: fd
- ./Utilities/cmlibarchive/tar/test/main.c:670 [error] - Resource leak: f1
- ./Utilities/cmlibarchive/tar/test/main.c:670 [error] - Resource leak: f2
- ./Utilities/cmlibarchive/tar/test/main.c:334 [error] - Null pointer dereference
- ./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 Fri, 25 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46