diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-12-27 20:33:32 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-27 22:45:25 +0100 |
commit | fae2304c670925fb7d79e0a988b0cc83c3eaaabb (patch) | |
tree | 6389103c5c2c3d77e07a9d094d32c207ac906bc7 /Kernel/CoreDump.cpp | |
parent | 518ba73dcb79ef89551eaffe08551b85825d06e2 (diff) | |
download | serenity-fae2304c670925fb7d79e0a988b0cc83c3eaaabb.zip |
Kernel: CoreDump::write_program_headers: set NOTE p_memsz to p_filesz
Diffstat (limited to 'Kernel/CoreDump.cpp')
-rw-r--r-- | Kernel/CoreDump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/CoreDump.cpp b/Kernel/CoreDump.cpp index 454a96dc3f..be54cdc9e3 100644 --- a/Kernel/CoreDump.cpp +++ b/Kernel/CoreDump.cpp @@ -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; |