cppcheck analysis of emacs23_23.1+1-3.dsc
- ./lib-src/ebrowse.c:2885 [error] - instance of "member" object destroyed immediately
- ./lib-src/movemail.c:341 [error] - Memory leak: message
- ./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:5358 [error] - Common realloc mistake: "pwd" nulled but not freed upon failure
- ./src/data.c:874 [error] - Uninitialized variable: val
- ./src/data.c:875 [error] - Uninitialized variable: val
- ./src/dbusbind.c:714 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:910 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:1716 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/dbusbind.c:1775 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./src/emacs.c:965 [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:4703 [error] - Uninitialized variable: pixel
- ./src/intervals.c:652 [error] - Uninitialized variable: parent
- ./src/intervals.c:907 [error] - Uninitialized variable: parent
- ./src/intervals.c:1304 [error] - Uninitialized variable: owner
- ./src/intervals.c:1307 [error] - Uninitialized variable: owner
- ./src/intervals.c:1418 [error] - Uninitialized variable: parent
- ./src/ralloc.c:611 [error] - Possible null pointer dereference: heap
- ./src/ralloc.c:973 [error] - Memory leak: new_bloc
- ./src/ralloc.c:1061 [error] - Memory leak: new_bloc
- ./src/search.c:3288 [error] - Array 'searchbufs[20]' index 20 out of bounds
- ./src/sysdep.c:2482 [error] - Resource leak: rtnval
- ./src/sysdep.c:2851 [error] - Resource leak: fd
- ./src/sysdep.c:2898 [error] - Resource leak: fd
- ./src/term.c:3326 [error] - Uninitialized variable: pgid
- ./src/unexaix.c:173 [error] - Deallocating a deallocated pointer: new
- ./src/unexalpha.c:417 [error] - Deallocating a deallocated pointer: old
- ./src/unexec.c:736 [error] - Deallocating a deallocated pointer: new
- ./src/xrdb.c:252 [error] - Common realloc mistake: "path" nulled but not freed upon failure
- ./src/xrdb.c:278 [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 Tue, 21 Dec 2010 03:58:03 +0000, based on results by cppcheck 1.46