-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Line 243 in ef990c6
| *hprintf_buffer = (uint8_t*)mmap((void*)NULL, HPRINTF_MAX_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); |
Line 245 in ef990c6
| if(!*hprintf_buffer){ |
On linux userspace targets at least, this will probably lead to an error.
Citing 'man mmap':
On error, the value MAP_FAILED (that is, (void *) -1) is returned, and errno is set to indicate the error.
Metadata
Metadata
Assignees
Labels
No labels