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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to