cppcheck analysis of gnu-smalltalk_3.2.4-1.dsc
- ./lib-src/getaddrinfo.c:298 [error] - Memory leak: storage
- ./lib-src/lock.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PTHREAD_RWLOCK;PTHREAD_RWLOCK_INITIALIZER;USE_POSIX_THREADS'.
- ./lib-src/lock.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PTHREAD_RWLOCK;USE_POSIX_THREADS'.
- ./lib-src/lock.c:448 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS'.
- ./lib-src/lock.c:448 [error] - Invalid number of character (() when these macros are defined: 'USE_POSIX_THREADS;__cplusplus'.
- ./lib-src/ltdl.c:3790 [error] - Possible null pointer dereference: handle - otherwise it is redundant to check if handle is null at line 3811
- ./lib-src/obstack.c:198 [error] - Possible null pointer dereference: chunk
- ./lib-src/obstack.c:199 [error] - Possible null pointer dereference: chunk
- ./lib-src/obstack.c:258 [error] - Possible null pointer dereference: chunk
- ./lib-src/obstack.c:259 [error] - Possible null pointer dereference: chunk
- ./lib-src/sqrtl.c:67 [error] - Passing value -1 to sqrt() leads to undefined result
- ./libgst/genbc-decl.c:1349 [error] - Memory leak: yyptr
- ./libgst/genbc-impl.c:1254 [error] - Memory leak: yyptr
- ./libgst/genpr-parse.c:1309 [error] - Memory leak: yyptr
- ./libgst/genvm-parse.c:1358 [error] - Memory leak: yyptr
- ./libgst/interp.c:1639 [error] - Common realloc mistake: "queued_async_signals" nulled but not freed upon failure
- ./libgst/sysdep/win32/files.c:97 [error] - Common realloc mistake: "rpath" nulled but not freed upon failure
- ./opcode/ppc-dis.c:86 [error] - Uninitialized variable: buffer
- ./opcode/sparc-dis.c:214 [error] - Uninitialized variable: buffer
- ./opcode/sparc-dis.c:222 [error] - Uninitialized variable: buffer
- ./superops/byte_def.cc:581 [error] - Memory leak: bc
- ./superops/byte_def.cc:596 [error] - Memory leak: bc
- ./superops/bool-array.h:65 [error] - Memory leak: Bool_Array::_storage_array
- ./superops/superops.cc:551 [error] - Common realloc mistake: "total" nulled but not freed upon failure
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, 04 Apr 2011 06:58:04 +0000, based on results by cppcheck 1.46