mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-06-26 14:42:27 +00:00
10 lines
146 B
C
10 lines
146 B
C
![]() |
#include <malloc.h>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "../test_util.h"
|
||
|
|
||
|
OPTNONE int main(void) {
|
||
|
char *p = malloc(-8);
|
||
|
return !(p == NULL);
|
||
|
}
|