[all-commits] [llvm/llvm-project] f5fa5b: [scudo/standalone] Fix undefined behavior in check...
Roland McGrath via All-commits
all-commits at lists.llvm.org
Sat Sep 19 12:28:19 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3
https://github.com/llvm/llvm-project/commit/f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3
Author: Roland McGrath <mcgrathr at google.com>
Date: 2020-09-19 (Sat, 19 Sep 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/checksum_test.cpp
Log Message:
-----------
[scudo/standalone] Fix undefined behavior in checksum test
1U has type unsigned int, and << of 32 or more is undefined behavior.
Use the proper type in the lhs of the shift.
Reviewed By: cryptoad
Differential Revision: https://reviews.llvm.org/D87973
More information about the All-commits
mailing list