cppcheck analysis of gnu-smalltalk_3.2-1.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: 'HAVE_PTHREAD_RWLOCK;PTHREAD_RWLOCK_INITIALIZER;USE_POSIX_THREADS'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PTHREAD_RWLOCK;USE_POSIX_THREADS'.
- ./lib-src/lock.c:487 [error] - Invalid number of character (() when these macros are defined: 'PTHREAD_IN_USE_DETECTION_HARD;USE_POSIX_THREADS'.
- ./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;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: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:1626 [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 Mon, 20 Dec 2010 22:58:06 +0000, based on results by cppcheck 1.46