This showed up on the Thunderbird development mailing list:
==== Hi. I want to inform you that Thunderbird was checked by PVS-Studio (static analyzer of C/C++ code). You can find summary of the check here <http://www.viva64.com/en/b/0347/>. There is one false alarm as well as author's mistake (getenv warning), it will be fixed. Best regards, Igor Shtukarev. ==== Click the link and you'll be surprised. Some (or most) of the errors are actually in M-C code. I didn't check them all, but here are some beauties: http://mxr.mozilla.org/mozilla-central/source/editor/libeditor/nsHTMLEditRules.cpp#7392 http://mxr.mozilla.org/mozilla-central/source/extensions/spellcheck/src/mozSpellI18NManager.cpp#31 http://mxr.mozilla.org/mozilla-central/source/xpcom/ds/nsWindowsRegKey.cpp#313 http://mxr.mozilla.org/mozilla-central/source/accessible/windows/sdn/sdnAccessible.cpp#223 Jorg K. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform