1 typedef __SIZE_TYPE__
size_t;
7 fread (void *, size_t, size_t, void *);
14 fread (n1
, sizeof (n1
[0]), 1, fp
); /* { dg-message "'n1' gets an unchecked value here" "" { xfail *-*-* } } */
15 idx
= n1
[0]; /* { dg-message "'idx' has an unchecked value here \\\(from 'n1'\\\)" "" { xfail *-*-* } } */
24 return arr
[idx
]; /* { dg-warning "use of attacker-controlled value 'idx' in array lookup without bounds checking" "" { xfail *-*-* } } */