[all-commits] [llvm/llvm-project] 6d0b42: [ELF] addLibrary: fix a use-after-free bug in arch...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jul 26 14:37:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d0b42745e55c703b779740f5316adbac8ef2f25
      https://github.com/llvm/llvm-project/commit/6d0b42745e55c703b779740f5316adbac8ef2f25
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/print-archive-stats.s

  Log Message:
  -----------
  [ELF] addLibrary: fix a use-after-free bug in archiveName

It manifests as an incorrect name in --print-archive-stats=.




More information about the All-commits mailing list