add null pointer check

Mathieu Baudet via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 12:55:43 PST 2015


Awesome. Looking forward to the full fix :)
—
Mathieu

On Nov 30, 2015, at 12:48 PM, Gábor Horváth <xazax.hun at gmail.com<mailto:xazax.hun at gmail.com>> wrote:

Hi!


Thank you for reporting this.
A more complete fix is available here: http://reviews.llvm.org/D14919<https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D14919&d=CwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=IqfJ6IoaUvQqne0Jd3W93RP4u1ycoyQAdJcDzB-lIG0&m=IgxfzxcpV7-GTRrcRFfS96_AJOgZk6Mg9SkjSDFElb0&s=U6Ir34peUvW6HR6U2Nb8VuNq9zVXpzM6-2lOHg21Th0&e=>

I recommend to use that one :)

Best Regards,
Gabor

On 30 November 2015 at 21:38, Mathieu Baudet <mathieubaudet at fb.com<mailto:mathieubaudet at fb.com>> wrote:
Hello,

While running some private CSA checkers on a recent checkout of clang (dev), I found the following fix to be necessary to prevent a null pointer error in lib/StaticAnalyzer/Core/IssueHash.cpp

— Mathieu





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151130/77e12019/attachment.html>


More information about the cfe-commits mailing list