Hello ! I've just run cppcheck (a static C/C++ code analyzer) against the latest bash code (freshly cloned from the git repo), and it points out some interesting issues. You can see the log here : http://pastebin.com/pZHQShJp
Hope that was useful to you. Antoine.