[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/21722] Malicious ELF64 with invalid section header can cau
From: |
jgj212 at gmail dot com |
Subject: |
[Bug binutils/21722] Malicious ELF64 with invalid section header can cause memory exhaustion |
Date: |
Thu, 06 Jul 2017 13:39:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21722
--- Comment #2 from jgj212 at gmail dot com ---
(In reply to Alan Modra from comment #1)
> Again, running out of memory is not abnormal. Yes, a huge shstrtabsize is
> ridiculous but nothing is gained by adding some arbitrary limit to avoid
> ENOMEM.
For a desktop user, this is not a problem.
But for a parallel backend service, this maybe a problem, because a crafted
file can cause memory exhausted to cause other objdump instance to failed to
process valid elf file.
And it is not need to set hard limit for the shstrtabsize , because
shstrtabsize of valid elf can never be bigger than size_elf_file.
--
You are receiving this mail because:
You are on the CC list for the bug.