add uninitialized allocator tests
This commit is contained in:
7
test/simple-memory-corruption/uninitialized_free.c
Normal file
7
test/simple-memory-corruption/uninitialized_free.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
__attribute__((optimize(0)))
|
||||
int main(void) {
|
||||
free((void *)1);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user