cppcheck analysis of zsh_4.3.10-17.dsc
- ./Src/Modules/zftp.c:2041 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./Src/Modules/zpty.c:551 [error] - Uninitialized variable: pollret
- ./Src/Zle/compcore.c:2264 [error] - Possible null pointer dereference: globflag
- ./Src/Zle/zle_hist.c:957 [error] - Common realloc mistake: "isrch_spots" nulled but not freed upon failure
- ./Src/Zle/zle_keymap.c:1383 [error] - Common realloc mistake: "keybuf" nulled but not freed upon failure
- ./Src/Zle/zle_main.c:374 [error] - Common realloc mistake: "kungetbuf" nulled but not freed upon failure
- ./Src/Zle/zle_utils.c:1115 [error] - Common realloc mistake: "lastline" nulled but not freed upon failure
- ./Src/builtin.c:3001 [error] - Null pointer dereference
- ./Src/hist.c:2326 [error] - Common realloc mistake: "wordlist" nulled but not freed upon failure
- ./Src/lex.c:660 [error] - Common realloc mistake: "tbuf" nulled but not freed upon failure
- ./Src/loop.c:53 [error] - Array index -1 is out of bounds
- ./Src/loop.c:202 [error] - Array index -1 is out of bounds
- ./Src/loop.c:369 [error] - Array index -1 is out of bounds
- ./Src/loop.c:438 [error] - Array index -1 is out of bounds
- ./Src/loop.c:482 [error] - Array index -1 is out of bounds
- ./Src/loop.c:529 [error] - Array index -1 is out of bounds
- ./Src/signals.c:387 [error] - Uninitialized variable: ret
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:21:59 +0000, based on results by cppcheck 1.46