This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

I: [PATCH] strings section handling fix


Hi,

The strings utility may mishandle a file if it finds a section with
enormously large size.  In this case, strings attempts to allocate
memory and dies due to OOM.

Original bugreport and test cases could be found at
https://bugzilla.altlinux.org/show_bug.cgi?id=5871

Proposed fix is attached.


-- 
ldv

Attachment: binutils-alt-strings-mem.patch
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]