Re: add null pointer check

2015-11-30 Thread Mathieu Baudet via cfe-commits
Awesome. Looking forward to the full fix :) — Mathieu On Nov 30, 2015, at 12:48 PM, Gábor Horváth mailto:xazax@gmail.com>> wrote: Hi! Thank you for reporting this. A more complete fix is available here: http://reviews.llvm.org/D14919

Re: add null pointer check

2015-11-30 Thread Gábor Horváth via cfe-commits
Hi! Thank you for reporting this. A more complete fix is available here: http://reviews.llvm.org/D14919 I recommend to use that one :) Best Regards, Gabor On 30 November 2015 at 21:38, Mathieu Baudet wrote: > Hello, > > While running some private CSA checkers on a recent checkout of clang >

add null pointer check

2015-11-30 Thread Mathieu Baudet via cfe-commits
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 diff --git a/lib/StaticAnalyzer/Core/IssueHash.cpp b/lib/StaticAnalyzer/Core/Issue