mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Add fcntl() F_DUPFD which is slightly different from dup2().
This commit is contained in:
@@ -29,6 +29,7 @@ void __malloc_init()
|
||||
void* malloc(size_t size)
|
||||
{
|
||||
if ((nextptr + size) > endptr) {
|
||||
fprintf(stderr, "Unable to serve malloc() request with size %u\n", size);
|
||||
volatile char* crashme = (char*)0xc007d00d;
|
||||
*crashme = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user