1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Kernel: CoreDump::write_program_headers: set NOTE p_memsz to p_filesz

This commit is contained in:
Brendan Coles 2020-12-27 20:33:32 +00:00 committed by Andreas Kling
parent 518ba73dcb
commit fae2304c67

View file

@ -159,7 +159,7 @@ KResult CoreDump::write_program_headers(size_t notes_size)
notes_pheader.p_vaddr = 0;
notes_pheader.p_paddr = 0;
notes_pheader.p_filesz = notes_size;
notes_pheader.p_memsz = 0;
notes_pheader.p_memsz = notes_size;
notes_pheader.p_align = 0;
notes_pheader.p_flags = 0;