cppcheck analysis of gnu-smalltalk_3.1-6.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/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:1327 [error] - Memory leak: yyptr
- ./libgst/genbc-impl.c:1232 [error] - Memory leak: yyptr
- ./libgst/genpr-parse.c:1287 [error] - Memory leak: yyptr
- ./libgst/genvm-parse.c:1336 [error] - Memory leak: yyptr
- ./libgst/interp.c:1600 [error] - Common realloc mistake: "queued_async_signals" 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 Tue, 21 Dec 2010 22:58:05 +0000, based on results by cppcheck 1.46