cppcheck analysis of gnu-smalltalk_3.1-3.dsc
- ./lib-src/getaddrinfo.c:298 [error] - Memory leak: storage
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;HAVE_PTHREAD_RWLOCK'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;HAVE_PTHREAD_RWLOCK;PTHREAD_RWLOCK_INITIALIZER'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;PTHREAD_IN_USE_DETECTION_HARD'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;USE_POSIX_THREADS_WEAK'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;USE_POSIX_THREADS_WEAK;pthread_self'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;__cplusplus'.
- ./lib-src/ltdl.c:453 [error] - Dangerous usage of 'file_specification' (strncpy doesn't always 0-terminate it)
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/dict.inl:1299 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1300 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1301 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1323 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1324 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1325 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1344 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1352 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1353 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1354 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1419 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:1420 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1421 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1422 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1423 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1424 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1425 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1447 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1448 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1449 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1450 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1451 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1452 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1453 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:1473 [possible error] - Array 'bytes[1]' index 8 out of bounds
- ./libgst/dict.inl:1481 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1482 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1483 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1484 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1485 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1486 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1487 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/dict.inl:631 [possible error] - Array index out of bounds
- ./libgst/interp.c:1990 [error] - Buffer access out-of-bounds: processLists.data
- ./libgst/vm.inl:8809 [possible error] - Array 'contextStack[1]' index 1 out of bounds
- ./libgst/vm.inl:12817 [possible error] - Array 'contextStack[1]' index 2 out of bounds
- ./libgst/vm.inl:400 [error] - Uninitialized variable: t2
- ./libgst/oop.c:1590 [possible error] - Array 'data[1]' index 1 out of bounds
- ./libgst/oop.c:1591 [possible error] - Array 'data[1]' index 1 out of bounds
- ./snprintfv/snprintfv/ltdl.c:453 [error] - Dangerous usage of 'file_specification' (strncpy doesn't always 0-terminate it)
- ./superops/observer-list.h:36 [error] - Class observer which is inherited by class byte_def_builder does not have a virtual destructor
- ./superops/byte_def.cc:580 [error] - Memory leak: bc
- ./superops/byte_def.cc:595 [error] - Memory leak: bc
- ./superops/bool-array.h:65 [possible error] - Memory leak: Bool_Array::_storage_array
- ./superops/observer-list.h:36 [error] - Class observer which is inherited by class superop_table_builder does not have a virtual destructor
- ./superops/observer-list.h:36 [error] - Class observer which is inherited by class vm_def_builder does not have a virtual destructor
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 05:48:43 +0000, based on results by cppcheck 1.41-modif