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: calc.develop at web dot de
Subject: [Bug binutils/22923] readelf crashes with fuzzed samples 748 times
Date: Mon, 05 Mar 2018 21:42:06 +0000

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

--- Comment #9 from calc.develop at web dot de ---
(In reply to Paul Pluzhnikov from comment #8)
> 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?
Looks good for a few randomly selected samples. I need to check in the next
days with all samples.

-- 
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]