cppcheck analysis of gnu-smalltalk_3.2.3-3.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:3782 [error] - Possible null pointer dereference: handle - otherwise it is redundant to check if handle is null at line 3803
- ./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:1341 [error] - Memory leak: yyptr
- ./libgst/genbc-impl.c:1246 [error] - Memory leak: yyptr
- ./libgst/genpr-parse.c:1301 [error] - Memory leak: yyptr
- ./libgst/genvm-parse.c:1350 [error] - Memory leak: yyptr
- ./libgst/interp.c:1651 [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:580 [error] - Memory leak: bc
- ./superops/byte_def.cc:595 [error] - Memory leak: bc
- ./superops/bool-array.h:65 [error] - Memory leak: Bool_Array::_storage_array
- ./superops/superops.cc:548 [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 Wed, 30 Mar 2011 06:58:05 +0000, based on results by cppcheck 1.46