[all-commits] [llvm/llvm-project] b01bfd: [lld][MachO] Fix UB after D103006

Vitaly Buka via All-commits all-commits at lists.llvm.org
Mon Jun 14 21:22:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b01bfdfda64b684965cd7f97e99e4b0bce5d67fa
      https://github.com/llvm/llvm-project/commit/b01bfdfda64b684965cd7f97e99e4b0bce5d67fa
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp

  Log Message:
  -----------
  [lld][MachO] Fix UB after D103006

ubsan detected:
lld/MachO/SyntheticSections.cpp:636:15: runtime error: null pointer
passed as argument 2, which is declared to never be null




More information about the All-commits mailing list