[all-commits] [llvm/llvm-project] 2e2c31: [libFuzzer] Clamp `ConsumeFloatingPointInRange` re...
Stan Ulbrych via All-commits
all-commits at lists.llvm.org
Wed Sep 9 18:44:11 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e2c316fd5d7e8cff94703992928d5882d00478e
https://github.com/llvm/llvm-project/commit/2e2c316fd5d7e8cff94703992928d5882d00478e
Author: Stan Ulbrych <stan at python.org>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M compiler-rt/include/fuzzer/FuzzedDataProvider.h
M compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp
Log Message:
-----------
[libFuzzer] Clamp `ConsumeFloatingPointInRange` result to `max` (#221552)
Fixes #65312. Floating point rounding could push the result above `max`,
or even overflow to infinity, so we clamp it instead.
---------
Co-authored-by: Dan Blackwell <danblackwell95 at gmail.com>
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