cppcheck analysis of ptlib_2.6.7-1.dsc
- ./samples/audio/audio.h:54 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./samples/audio/audio.h:54 [error] - Invalid number of character ({) when these macros are defined: 'PTRACING'.
- ./samples/safetest/main.cxx:378 [error] - Division by zero
- ./samples/strtest/main.cxx:41 [error] - Dangerous usage of 'buffer' (strncpy doesn't always 0-terminate it)
- ./src/ptlib/Nucleus++/NucleusConfig.cxx:62 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/Nucleus++/NucleusConfig.cxx:62 [error] - Invalid number of character ({) when these macros are defined: 'WOT_NO_FILESYSTEM'.
- ./src/ptlib/Nucleus++/NucleusConfig.cxx:62 [error] - Invalid number of character ({) when these macros are defined: '__CWP_HAVE_ENVIRONMENT__'.
- ./src/ptlib/unix/config.cxx:72 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/config.cxx:72 [error] - Invalid number of character ({) when these macros are defined: '__NetBSD__'.
- ./src/ptlib/unix/serchan.cxx:454 [style] - Redundant assignment of "flags" in switch
- ./src/ptlib/unix/socket.cxx:1479 [error] - Uninitialized variable: net_mask
- ./src/ptlib/unix/socket.cxx:1480 [error] - Uninitialized variable: dest_addr
- ./src/ptlib/unix/socket.cxx:1482 [error] - Uninitialized variable: metric
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS'.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS;B_ZETA_VERSION'.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS;DEBUG_SEMAPHORES'.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'B_ZETA_VERSION'.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_SEMAPHORES'.
- ./src/ptlib/unix/tlibbe.cxx:434 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_THREADS'.
- ./src/ptlib/unix/tlibmpthrd.cxx:53 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibmpthrd.cxx:53 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./src/ptlib/unix/tlibmpthrd.cxx:53 [error] - Invalid number of character ({) when these macros are defined: 'PMEMORY_CHECK'.
- ./src/ptlib/unix/tlibmpthrd.cxx:53 [error] - Invalid number of character ({) when these macros are defined: '_not_def_'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'LINUX'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'LINUX;SCHED_BATCH'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'PMEMORY_CHECK'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'PTRACING'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_GNU_PTH'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_NAMED_SEMAPHORES'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_RECURSIVE_MUTEX'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES;P_HAS_SEMAPHORES_XPG6'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES;P_LINUX'.
- ./src/ptlib/unix/tlibthrd.cxx:155 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES_XPG6'.
- ./src/ptlib/wince/ConsoleCE/istream.cpp:428 [error] - Uninitialized variable: i
- ./tools/MergeSym/MergeSym.cxx:62 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tools/msvc6chk/msvc6chk.cpp:268 [error] - Buffer access out-of-bounds
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 15:59:17 +0000, based on results by cppcheck 1.46