check whole allocation for uninit read large test
This commit is contained in:
1 parent
16c991b8f7
commit
346529574d
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
OPTNONE int main(void) {
|
||||
char *p = malloc(256 * 1024);
|
||||
for (unsigned i = 0; i < 8; i++) {
|
||||
for (unsigned i = 0; i < 256 * 1024; i++) {
|
||||
if (p[i] != 0) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user