cppcheck analysis of rxtx_2.1.7r2-4.dsc
- ./CNI/SerialImp.c:4172 [error] - Buffer access out-of-bounds
- ./src/I2CImp.c:1241 [possible error] - Resource leak: fd
- ./src/RS485Imp.c:1311 [possible error] - Resource leak: fd
- ./src/RawImp.c:1309 [possible error] - Resource leak: fd
- ./src/SerialImp.c:4542 [error] - Buffer access out-of-bounds
- ./src/SerialImp.c:1947 [error] - Memory leak: newp
- ./src/SerialImp.c:4618 [possible error] - Resource leak: fd
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_MW'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_MW;__APPLE__'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG_TIMING'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'DISABLE_LOCKFILES'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_FCNTL_H'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_FILE_H'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'INT_MAX'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'LFS'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'LIBLOCKDEV'.
- ./src/SerialImp.cpp:1440 [error] - Invalid number of character ({) when these macros are defined: 'MAXINT'.
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:01:59 +0000, based on results by cppcheck 1.41-modif