[all-commits] [llvm/llvm-project] feb8b1: [llvm-objcopy][MachO] Fix use-after-free when stri...
Keith Smiley via All-commits
all-commits at lists.llvm.org
Fri Oct 2 17:26:36 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: feb8b100771af6b617efd3ef5b6ebcf51d858b9b
https://github.com/llvm/llvm-project/commit/feb8b100771af6b617efd3ef5b6ebcf51d858b9b
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/lib/ObjCopy/MachO/MachOObjcopy.cpp
M llvm/lib/ObjCopy/MachO/MachOObject.h
A llvm/test/tools/llvm-objcopy/MachO/discard-all-relocations.test
M llvm/test/tools/llvm-objcopy/MachO/indirect-symbol-table-copy.s
Log Message:
-----------
[llvm-objcopy][MachO] Fix use-after-free when stripping (#228607)
We must preserve symbols referenced by the indirect symbol table even
with strip all, and we must preserve symbols referenced by relocations
without strip all.
Fixes: https://github.com/llvm/llvm-project/issues/228595
Assisted-by: codex
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list