mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-09-07 10:01:58 +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);
|
||
|
}
|