Some bugs in bash detected by cppcheck, splint and our own tool
From:
flaviomotamedeiros
Subject:
Some bugs in bash detected by cppcheck, splint and our own tool
Date:
Mon, 10 Mar 2014 17:33:35 -0700 (PDT)
User-agent:
G2/1.0
We have analyzed the bash source code using tools, such as cppcheck, splint and
our own tool, and foound the following possible problems.
FILE: bash/lib/readline/input.c/v1-input.c
LINE: 267
MSG: Uninitialized variable: input
CONFIG: !O_NDELAY
FILE: bash/lib/sh/strftime.c/v1-strftime.c
LINE: 228
MSG: Common realloc mistake: 'savetz' nulled but not freed upon failure
CONFIG: POSIX_SEMANTICS
fILE: bash/execute_cmd.c
LINE: 5163
MSG: Null pointer dereference
CONFIG: __CYGWIN__
FILE: bash/subst.c
LINE: 5362
MSG: Null pointer dereference
CONFIG: __CYGWIN__
Regards,
Flávio Medeiros
[Prev in Thread]
Current Thread
[Next in Thread]
Some bugs in bash detected by cppcheck, splint and our own tool,
flaviomotamedeiros<=