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