[Top][All Lists]

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

[Bug binutils/21437] heap-buffer-overflow in byte_get_little_endian (bin

From: nickc at redhat dot com
Subject: [Bug binutils/21437] heap-buffer-overflow in byte_get_little_endian (binutils/elfcomm.c:148)
Date: Fri, 28 Apr 2017 09:40:24 +0000


--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 10031
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10031&action=edit
Possible patch

Hi Brian,

  Fascinating.  I still cannot reproduce this failure, which leads me to
believe that it may very well be a clang/llvm bug.  One obvious possibility for
this is that it may be miscompiling the test for buffer overflow just before
the read at line 10189.  So please could you try out the uploaded patch and let
me know if it has any effect.  All that the patch does is to rearrange the code
slightly and change the check to be a pointer comparison rather than an integer


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]