cppcheck analysis of gnu-smalltalk_3.0.3-2.dsc
- ./lib-src/ltdl.c:453 [error] - Dangerous usage of 'file_specification' (strncpy doesn't always 0-terminate it)
- ./lib-src/ltdl.c:3769 [error] - Possible null pointer dereference: handle - otherwise it is redundant to check if handle is null at line 3788
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/dict.inl:1285 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1286 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1287 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1309 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1310 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1311 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1330 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1338 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1339 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1340 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1405 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:1406 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1407 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1408 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1409 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1410 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1411 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1433 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1434 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1435 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1436 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1437 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1438 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1439 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:1459 [possible error] - Array 'bytes[1]' index 8 out of bounds
- ./libgst/dict.inl:1467 [possible error] - Array 'bytes[1]' index 1 out of bounds
- ./libgst/dict.inl:1468 [possible error] - Array 'bytes[1]' index 2 out of bounds
- ./libgst/dict.inl:1469 [possible error] - Array 'bytes[1]' index 3 out of bounds
- ./libgst/dict.inl:1470 [possible error] - Array 'bytes[1]' index 4 out of bounds
- ./libgst/dict.inl:1471 [possible error] - Array 'bytes[1]' index 5 out of bounds
- ./libgst/dict.inl:1472 [possible error] - Array 'bytes[1]' index 6 out of bounds
- ./libgst/dict.inl:1473 [possible error] - Array 'bytes[1]' index 7 out of bounds
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/dict.inl:617 [possible error] - Array index out of bounds
- ./libgst/interp.c:1999 [error] - Buffer access out-of-bounds: processLists.data
- ./libgst/vm.inl:8794 [possible error] - Array 'contextStack[1]' index 1 out of bounds
- ./libgst/vm.inl:12800 [possible error] - Array 'contextStack[1]' index 2 out of bounds
- ./libgst/vm.inl:399 [error] - Uninitialized variable: t2
- ./libgst/lex.c:1281 [error] - Invalid number of character (() when these macros are defined: 'LEXDEBUG'.
- ./libgst/oop.c:1591 [possible error] - Array 'data[1]' index 1 out of bounds
- ./libgst/oop.c:1592 [possible error] - Array 'data[1]' index 1 out of bounds
- ./libgst/sysdep.c:194 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SIGHOLD'.
- ./libgst/sysdep.c:1449 [possible error] - Resource leak: slave
- ./snprintfv/snprintfv/ltdl.c:453 [error] - Dangerous usage of 'file_specification' (strncpy doesn't always 0-terminate it)
- ./snprintfv/snprintfv/ltdl.c:3789 [error] - Possible null pointer dereference: handle - otherwise it is redundant to check if handle is null at line 3808
- ./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