hardened_malloc/test/simple-memory-corruption/impossibly_large_malloc.c
2021-12-28 19:47:05 -05:00

10 lines
146 B
C

#include <malloc.h>
#include <stddef.h>
#include "../test_util.h"
OPTNONE int main(void) {
char *p = malloc(-8);
return !(p == NULL);
}