[LLVMbugs] [Bug 9098] New: diagnose obvious array out of bounds access

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 28 15:05:04 PST 2011


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

           Summary: diagnose obvious array out of bounds access
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


Code like this:

  char foo[100];
  foo[100] = '\0';

should win a diagnostic about the array out of bounds access.

-- 
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.



More information about the llvm-bugs mailing list