hardened_malloc/test/simple-memory-corruption/uninitialized_realloc.c

12 lines
165 B
C
Raw Normal View History

2018-08-24 14:32:00 +05:30
#include <stdlib.h>
#include "../test_util.h"
OPTNONE int main(void) {
2018-08-24 14:32:00 +05:30
void *p = realloc((void *)1, 16);
if (!p) {
return 1;
}
return 0;
}