mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
check whole allocation for uninit read large test
This commit is contained in:
parent
16c991b8f7
commit
346529574d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user