mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel: Remove harmless OOB ELF header access in core dump generation
This commit is contained in:
parent
28c042e46f
commit
be0816507a
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ void CoreDump::write_elf_header()
|
|||
elf_file_header.e_ident[EI_PAD + 4] = 0;
|
||||
elf_file_header.e_ident[EI_PAD + 5] = 0;
|
||||
elf_file_header.e_ident[EI_PAD + 6] = 0;
|
||||
elf_file_header.e_ident[EI_NIDENT] = 16;
|
||||
elf_file_header.e_type = ET_CORE;
|
||||
elf_file_header.e_machine = EM_386;
|
||||
elf_file_header.e_version = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue