[LLVMbugs] [Bug 18326] New: alpha.security.ArrayBound false positive

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 26 07:36:42 PST 2013


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

            Bug ID: 18326
           Summary: alpha.security.ArrayBound false positive
           Product: clang
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: its.svati at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11782
  --> http://llvm.org/bugs/attachment.cgi?id=11782&action=edit
Contains two examples of array out of bounds

Attached example contains two instance of array out of bound access. They are
as follows:

// This example is reported
int a[2] = {1, 2};
a[3] = 3;

// This example is not reported
int i, b[10];
for(i=0;i<=10;i++)
b[i]= i;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131226/a31640b5/attachment.html>


More information about the llvm-bugs mailing list