checked sources with static code analysis tool (cppcheck)
#1
Hi all,

recently i have checked the sources of XBMC with the static code analysis tool cppcheck. It discovered a few issues (resource leaks, memory leaks and uninitialized variables). I allready fixed a few of this issues (http://trac.xbmc.org/ticket/8315). The analysis tool, i have used, is an open-source code analyser and freely available at: http://sourceforge.net/projects/cppcheck/

It is a gread helper tool to avoid nasty bugs.

Best regards

Ettl Martin
#2
I've run this tool previously on most of our source and fixed the issues that I found pertinent. If you find anything new in our code, please let us know. I've avoided running it on our third-party code since we try to minimize our customizations to it. It may be better to submit those patches upstream.

Thanks for the vigilance, extra eyes never hurt.
#3
The ticket is plenty. Please don't open an additional forum thread in the future. It's better to keep the discussion in one place. Closing this...

Logout Mark Read Team Forum Stats Members Help
checked sources with static code analysis tool (cppcheck)0