[all-commits] [llvm/llvm-project] 76a626: [llvm-readelf/obj] - Fix the possible crash when d...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Nov 23 02:06:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76a626b2061bc8a33656a49ebcabbfa75c317d4c
      https://github.com/llvm/llvm-project/commit/76a626b2061bc8a33656a49ebcabbfa75c317d4c
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-11-23 (Mon, 23 Nov 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/groups.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf/obj] - Fix the possible crash when dumping group sections.

It is possible to trigger a crash/misbehavior when the st_name field of
the signature symbol goes past the end of the string table.

This patch fixes it.

Differential revision: https://reviews.llvm.org/D91943




More information about the All-commits mailing list