[cfe-commits] Patch to fix a crash in MallocOverflowSecurityChecker
Anna Zaks
ganna at apple.com
Tue Sep 27 15:28:14 PDT 2011
Committed in r140648. (Removed the triple from the command line.)
Thanks!
Anna.
On Sep 27, 2011, at 11:24 AM, Anna Zaks wrote:
> Is there a reason why we specify the triple in the malloc overflow checker tests?
>
> -triple x86_64-apple-macosx10.7.0
>
> Anna.
> On Sep 27, 2011, at 12:26 AM, 章磊 wrote:
>
>> Hi ted,
>>
>> here is the patch with a self-contained test case.
>>
>> 2011/9/26 Ted Kremenek <kremenek at apple.com>
>> Awesome. Can you also include a self-contained test case in that patch that we can add to "make test"?
>>
>> On Sep 25, 2011, at 6:26 PM, 章磊 wrote:
>>
>>> Hi clang,
>>>
>>> Clang will crash on the following codes with "-cc1 -analyze -analyzer-checker=core,experimental -analyzer-store region".
>>>
>>> #include <ostream>
>>> #include <iomanip>
>>>
>>> using namespace std;
>>>
>>> void oops2(ostream &os, float f)
>>> {
>>> os << setprecision(2) << f;
>>> }
>>>
>>> This patch fix this crash in MallocOverflowSecurityChecker.
>>>
>>> --
>>> Best regards!
>>>
>>> Lei Zhang
>>> <crash.patch>_______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
>>
>>
>> --
>> Best regards!
>>
>> Lei Zhang
>> <crash.patch>_______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110927/4461620e/attachment.html>
More information about the cfe-commits
mailing list