cppcheck analysis of emacs23_23.3+1-1.dsc
- ./lib-src/ebrowse.c:2890 [error] - instance of "member" object destroyed immediately
- ./lib-src/update-game-score.c:376 [error] - Resource leak: f
- ./nt/addsection.c:478 [error] - Buffer overrun possible for long cmd-line args
- ./nt/preprep.c:771 [error] - Buffer overrun possible for long cmd-line args
- ./oldXMenu/AddPane.c:50 [error] - Memory leak: pane
- ./oldXMenu/Create.c:205 [error] - Memory leak: menu
- ./oldXMenu/Create.c:214 [error] - Memory leak: pane
- ./oldXMenu/InsPane.c:60 [error] - Memory leak: pane
- ./oldXMenu/Internal.c:750 [error] - Memory leak: changes
- ./oldXMenu/XCrAssoc.c:42 [error] - Memory leak: table
- ./src/buffer.c:5385 [error] - Common realloc mistake: "pwd" nulled but not freed upon failure
- ./src/data.c:877 [error] - Uninitialized variable: val
- ./src/data.c:878 [error] - Uninitialized variable: val
- ./src/dbusbind.c:753 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:1051 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:1933 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:1999 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/emacs.c:969 [error] - Allocation with malloc, realloc doesn't release it.
- ./src/gmalloc.c:868 [error] - Data is allocated but not initialized: result
- ./src/gmalloc.c:875 [error] - Data is allocated but not initialized: result
- ./src/gmalloc.c:2107 [error] - Common realloc mistake: "hdr" nulled but not freed upon failure
- ./src/image.c:4485 [error] - Uninitialized variable: pixel
- ./src/intervals.c:653 [error] - Uninitialized variable: parent
- ./src/intervals.c:908 [error] - Uninitialized variable: parent
- ./src/intervals.c:1305 [error] - Uninitialized variable: owner
- ./src/intervals.c:1308 [error] - Uninitialized variable: owner
- ./src/intervals.c:1419 [error] - Uninitialized variable: parent
- ./src/ralloc.c:612 [error] - Possible null pointer dereference: heap
- ./src/ralloc.c:974 [error] - Memory leak: new_bloc
- ./src/ralloc.c:1062 [error] - Memory leak: new_bloc
- ./src/search.c:3280 [error] - Array 'searchbufs[20]' index 20 out of bounds
- ./src/sysdep.c:2469 [error] - Resource leak: rtnval
- ./src/sysdep.c:2834 [error] - Resource leak: fd
- ./src/sysdep.c:2881 [error] - Resource leak: fd
- ./src/term.c:3309 [error] - Uninitialized variable: pgid
- ./src/unexaix.c:174 [error] - Deallocating a deallocated pointer: new
- ./src/unexalpha.c:417 [error] - Deallocating a deallocated pointer: old
- ./src/unexec.c:737 [error] - Deallocating a deallocated pointer: new
- ./src/xrdb.c:253 [error] - Common realloc mistake: "path" nulled but not freed upon failure
- ./src/xrdb.c:279 [error] - Common realloc mistake: "path" 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 Fri, 15 Apr 2011 06:58:04 +0000, based on results by cppcheck 1.46