cppcheck analysis of pwlib-titan_1.11.2-2.dsc
- ./samples/audio/audio.h:71 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./samples/audio/audio.h:71 [error] - Invalid number of character ({) when these macros are defined: 'PTRACING'.
- ./samples/ptimer/main.cxx:154 [possible error] - Memory leak: startIt
- ./samples/ptimer/main.cxx:224 [possible error] - Memory leak: thread
- ./samples/safetest/main.cxx:423 [possible error] - Memory leak: location
- ./samples/safetest/main.cxx:421 [error] - Division by zero
- ./samples/strtest/main.cxx:241 [possible error] - Memory leak: thrd
- ./samples/strtest/main.cxx:41 [error] - Dangerous usage of 'buffer' (strncpy doesn't always 0-terminate it)
- ./samples/wavfile/main.cxx:176 [possible error] - Memory leak: snd
- ./src/ptlib/common/osutils.cxx:2277 [possible error] - Memory leak: thread
- ./src/ptlib/msos/mail.cxx:438 [possible error] - Memory leak: CMC_message_reference_ptr::ref
- ./src/ptlib/msos/svcproc.cxx:1450 [error] - Class ServiceManager which is inherited by class NT_ServiceManager does not have a virtual destructor
- ./src/ptlib/unix/beaudio.cxx:531 [possible error] - Memory leak: pentry
- ./src/ptlib/unix/beaudio.cxx:1802 [possible error] - Memory leak: pentry
- ./src/ptlib/unix/config.cxx:133 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS'.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS;B_ZETA_VERSION'.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'BE_THREADS;DEBUG_SEMAPHORES'.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'B_ZETA_VERSION'.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_SEMAPHORES'.
- ./src/ptlib/unix/tlibbe.cxx:515 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_THREADS'.
- ./src/ptlib/unix/tlibmpthrd.cxx:63 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibmpthrd.cxx:63 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./src/ptlib/unix/tlibmpthrd.cxx:63 [error] - Invalid number of character ({) when these macros are defined: 'PMEMORY_CHECK'.
- ./src/ptlib/unix/tlibmpthrd.cxx:63 [error] - Invalid number of character ({) when these macros are defined: '_not_def_'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'LINUX'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'PMEMORY_CHECK'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_GNU_PTH'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_NAMED_SEMAPHORES'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_RECURSIVE_MUTEX'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES;P_HAS_SEMAPHORES_XPG6'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES;P_LINUX'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_HAS_SEMAPHORES_XPG6'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_LINUX'.
- ./src/ptlib/unix/tlibthrd.cxx:639 [error] - Invalid number of character ({) when these macros are defined: 'P_MACOSX'.
- ./tools/MergeSym/MergeSym.cxx:95 [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 Thu, 16 Dec 2010 06:00:59 +0000, based on results by cppcheck 1.41-modif