mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-20 21:34:23 -05:00
10 lines
143 B
C
10 lines
143 B
C
#include <malloc.h>
|
|
#include <stddef.h>
|
|
|
|
#include "test_util.h"
|
|
|
|
OPTNONE int main(void) {
|
|
char *p = malloc(-8);
|
|
return !(p == NULL);
|
|
}
|