check whole allocation for uninit read large test

pull/180/head
Daniel Micay 2022-01-03 17:55:05 -05:00
parent 16c991b8f7
commit 346529574d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
OPTNONE int main(void) { OPTNONE int main(void) {
char *p = malloc(256 * 1024); char *p = malloc(256 * 1024);
for (unsigned i = 0; i < 8; i++) { for (unsigned i = 0; i < 256 * 1024; i++) {
if (p[i] != 0) { if (p[i] != 0) {
return 1; return 1;
} }