[all-commits] [llvm/llvm-project] a10570: [MachO] Detect overflow in section offset. (#98685)
Eli Friedman via All-commits
all-commits at lists.llvm.org
Wed Jul 17 09:43:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a10570ba91050a394ca7766a6d1386dc17f8acc6
https://github.com/llvm/llvm-project/commit/a10570ba91050a394ca7766a6d1386dc17f8acc6
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M llvm/lib/MC/MachObjectWriter.cpp
A llvm/test/MC/MachO/section-offset-overflow.s
Log Message:
-----------
[MachO] Detect overflow in section offset. (#98685)
The section offset field is only 32 bits; if the computed section offset
is larger, make sure we don't emit a corrupt object file.
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