cppcheck analysis of rlwrap_0.35-1.dsc
- ./src/pty.c:161 [error] - Possible null pointer dereference: pterm_slave - otherwise it is redundant to check if pterm_slave is null at line 188
- ./src/readline.c:591 [error] - Resource leak: tmpfile_fd
- ./src/readline.c:591 [error] - Resource leak: tmpfile_OK
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'DEBUG'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'DEBUG;__GNUC__'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_CURSES_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_CURSES_H;HAVE_NCURSES_TERM_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_CURSES_H;HAVE_TERM_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_GETOPT_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_LIBUTIL_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_MEMMOVE'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PTY_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_REGEX_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_RL_READLINE_VERSION'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_RL_VARIABLE_VALUE'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SIGACTION'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SNPRINTF'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_STRNLEN'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_STRRCHR'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SYS_TIME_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_TERMCAP_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'HAVE_UTIL_H'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGBUS'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGCLD'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGEMT'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGIOT'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGPWR'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SIGSYS'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SPY_ON_READLINE'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'SPY_ON_READLINE;HOMEGROWN_REDISPLAY'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'STDC_HEADERS'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'TIME_WITH_SYS_TIME'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'WCOREDUMP'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'WEXITSTATUS'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: '__QNX__'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'max'.
- ./src/signals.c:448 [error] - Invalid number of character (() when these macros are defined: 'min'.
- ./src/string_utils.c:716 [error] - Uninitialized variable: result
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:01:51 +0000, based on results by cppcheck 1.41-modif