[all-commits] [llvm/llvm-project] 6efcb2: [HWASan] Fix UB in tag-bits mask shift (#202269)
Maosu Zhao via All-commits
all-commits at lists.llvm.org
Mon Jun 8 23:16:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6efcb27a7436004d7b78473c467a7e00d83deb4a
https://github.com/llvm/llvm-project/commit/6efcb27a7436004d7b78473c467a7e00d83deb4a
Author: Maosu Zhao <maosu.zhao at intel.com>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[HWASan] Fix UB in tag-bits mask shift (#202269)
`TagMaskByte &= (1 << ClTagBits) - 1` shifts an `int` literal, which is
undefined behavior for `ClTagBits >= 32`.
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