hardened_malloc/test/simple-memory-corruption/uninitialized_realloc.c
2018-08-24 05:03:12 -04:00

11 lines
159 B
C

#include <stdlib.h>
__attribute__((optimize(0)))
int main(void) {
void *p = realloc((void *)1, 16);
if (!p) {
return 1;
}
return 0;
}