bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22923] readelf crashes with fuzzed samples 748 times


From: ppluzhnikov at google dot com
Subject: [Bug binutils/22923] readelf crashes with fuzzed samples 748 times
Date: Mon, 05 Mar 2018 17:08:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22923

--- Comment #8 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Can you test whether this patch:

$ git diff binutils/readelf.c
diff --git a/binutils/readelf.c b/binutils/readelf.c
index e3af50a9c9..b85db9f97c 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -10212,7 +10212,7 @@ process_dynamic_section (Filedata * filedata)
 static char *
 get_ver_flags (unsigned int flags)
 {
-  static char buff[32];
+  static char buff[128];

   buff[0] = 0;


fixes some (or all) or the crashes you observed?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]