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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to