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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs