http://llvm.org/bugs/show_bug.cgi?id=2965

Douglas Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WONTFIX

--- Comment #7 from Douglas Gregor <[email protected]> 2010-11-13 08:55:23 CST 
---
This is correct behavior. The global variable

  static const char *zFormat1 = "%4d %-13s %4d %4d %4d %-4s %.2X %s\n";

can be reassigned, which is a potential security problem. As noted in the
comments, add 'const' and the security problem (along with the warning) goes
away.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to