cppcheck analysis of libgwenhywfar_3.11.3-1.dsc
- ./checks/io_buffered.c:41 [error] - Resource leak: f
- ./checks/io_file.c:103 [error] - Resource leak: f
- ./src/base/args.c:238 [error] - Memory leak: tmpBuf
- ./src/base/idmap.c:330 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 331
- ./src/base/idmap.c:333 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 334
- ./src/base/idmap.c:336 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 337
- ./src/base/idmap.c:339 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 340
- ./src/base/idmap.c:342 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 343
- ./src/base/idmap.c:345 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 346
- ./src/base/idmap.c:348 [error] - Possible null pointer dereference: t - otherwise it is redundant to check if t is null at line 349
- ./src/base/memory.c:421 [error] - Memory leak: pc
- ./src/binreloc.c:259 [error] - Common realloc mistake: "address_string" nulled but not freed upon failure
- ./src/gui/cgui.c:620 [error] - Memory leak: lbuffer
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'AF_INET'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'HAVE_ARPA_INET_H'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'HAVE_CONFIG_H'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'MEMTRACE'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'NO_ADDRESS'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'PF_UNIX'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: 'SUN_LEN'.
- ./src/os/posix/inetaddr.c:288 [error] - Invalid number of character (() when these macros are defined: '__cplusplus'.
- ./test/gwentest.c:1119 [error] - Resource leak: f
- ./test/gwentest.c:1204 [error] - Resource leak: f
- ./test/gwentest.c:1743 [error] - Resource leak: f
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 21:15:49 +0000, based on results by cppcheck 1.46