[Bug other/86198] Libbacktrace does not properly work with ".note.gnu.build-id" section

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 19 12:54:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86198

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
I think you're right but it's interesting to note that I was just copying this
code more or less from gdb, and in bfd/opncls.c the code says

  /* FIXME: Should we support smaller build-id notes ?  */
  if (size < 0x24)
    {
      bfd_set_error (bfd_error_invalid_operation);
      return NULL;
    }

I wonder if that should also be <=.


More information about the Gcc-bugs mailing list