cppcheck analysis of rxtx_2.2pre2-7.dsc
- ./CNI/SerialImp.c:1108 [error] - Possible null pointer dereference: eis - otherwise it is redundant to check if eis is null at line 1121
- ./CNI/SerialImp.c:4211 [error] - Buffer access out-of-bounds
- ./CNI/SerialImp.c:1846 [error] - Memory leak: newp
- ./CNI/SerialImp.c:2670 [error] - Uninitialized variable: filename
- ./CNI/fuserImp.c:140 [error] - Dereferencing 'dir' after it is deallocated / released
- ./CNI/fuserImp.c:163 [error] - Dereferencing 'dir' after it is deallocated / released
- ./src/SerialImp.c:1309 [error] - Possible null pointer dereference: eis - otherwise it is redundant to check if eis is null at line 1322
- ./src/SerialImp.c:4666 [error] - Buffer access out-of-bounds
- ./src/SerialImp.c:2056 [error] - Memory leak: newp
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_MW'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_MW;__APPLE__'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_TIMING'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'DISABLE_LOCKFILES'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_FCNTL_H'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_FILE_H'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_SIGNAL_H'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_TERMIOS_H'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'INT_MAX'.
- ./src/SerialImp.cpp:1479 [error] - Invalid number of character ({) when these macros are defined: 'LFS'.
- ./src/fuserImp.c:136 [error] - Dereferencing 'dir' after it is deallocated / released
- ./src/fuserImp.c:159 [error] - Dereferencing 'dir' after it is deallocated / released
- ./src/psmisc/fuser.c:133 [error] - Dereferencing 'dir' after it is deallocated / released
- ./src/psmisc/fuser.c:156 [error] - Dereferencing 'dir' after it is deallocated / released
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, 07 Feb 2011 06:58:22 +0000, based on results by cppcheck 1.46