Move memory corruption tests up a directory
This commit is contained in:
9
test/impossibly_large_malloc.c
Normal file
9
test/impossibly_large_malloc.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <malloc.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "test_util.h"
|
||||
|
||||
OPTNONE int main(void) {
|
||||
char *p = malloc(-8);
|
||||
return !(p == NULL);
|
||||
}
|
Reference in New Issue
Block a user