Skip to content

Commit

Permalink
Don't define MPROTECT_VDB for SerenityOS
Browse files Browse the repository at this point in the history
This causes a null pointer dereference crash when building without
SMALL_CONFIG.

See: ivmai#688
  • Loading branch information
linusg committed Dec 15, 2024
1 parent 437c08c commit c6f9f28
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/private/gcconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,6 @@ extern int etext[], _end[];
# define DATASTART PTR_ALIGN_UP((ptr_t)etext, 0x1000)
# define DATAEND ((ptr_t)_end)
# define DYNAMIC_LOADING
# define MPROTECT_VDB
# define USE_MMAP_ANON
#endif /* SERENITY */

Expand Down

0 comments on commit c6f9f28

Please sign in to comment.