hardened_malloc/test/invalid_malloc_usable_size_...

14 lines
190 B
C

#include <malloc.h>
#include "test_util.h"
OPTNONE int main(void) {
void *p = malloc(16);
if (!p) {
return 1;
}
free(p);
malloc_usable_size(p);
return 0;
}