On 28/09/2015 02:29, Jörg Knobloch wrote: > 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
If you follow the links to his website (http://www.viva64.com/), there is a link to his Firefox analysis too[1]. Maybe he doesn't realize that Firefox and Thunderbird share a lot of platform code? [1] http://www.viva64.com/en/b/0262/ Phil -- Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform