Float-cast-overflow in blink::CSSFontVariationSettingsInterpolationType::ApplyStandardPropertyValue |
|||||||
Issue descriptionDetailed report: https://clusterfuzz.com/testcase?key=5652715374641152 Fuzzer: inferno_twister Job Type: linux_ubsan_chrome Platform Id: linux Crash Type: Float-cast-overflow Crash Address: Crash State: blink::CSSFontVariationSettingsInterpolationType::ApplyStandardPropertyValue blink::CSSInterpolationType::Apply blink::TransitionInterpolation::Apply Sanitizer: undefined (UBSAN) Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=551565:563900 Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5652715374641152 Issue filed automatically. See https://github.com/google/clusterfuzz-tools for more information.
,
Oct 31
Automatically adding ccs based on suspected regression changelists: Disable non-composited animations via feature policy by iclelland@chromium.org - https://chromium.googlesource.com/chromium/src/+/9831ecc703d4316100735d9ed9a86702d3a34652 [Squad] style_ in StyleResolverState is always mutable. by futhark@chromium.org - https://chromium.googlesource.com/chromium/src/+/f1b06666866a207acc3a263a83f787267b56ad05 If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label.
,
Oct 31
My change is just method naming and constness.
,
Oct 31
a static_cast would likely fix this. I will take it.
,
Oct 31
,
Oct 31
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/de932e6ecf32f21a5b4859bd770872cd90576fce commit de932e6ecf32f21a5b4859bd770872cd90576fce Author: Xida Chen <xidachen@chromium.org> Date: Wed Oct 31 16:40:46 2018 [Code health] Do static_cast in ApplyStandardPropertyValue Currently at ApplyStandardPropertyValue, we give a double to FontVariationAxis which is supposed to take a float, and this could cause float-cast-overflow in corner cases. This CL does static_cast on the double value before given that to the FontVariationAxis. Bug: 900493 Change-Id: Ia4cc4b97bd81296ea1721affead42a2f482b58c0 Reviewed-on: https://chromium-review.googlesource.com/c/1309879 Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#604292} [modify] https://crrev.com/de932e6ecf32f21a5b4859bd770872cd90576fce/third_party/blink/renderer/core/animation/css_font_variation_settings_interpolation_type.cc
,
Oct 31
,
Nov 7
ClusterFuzz testcase 5652715374641152 is still reproducing on tip-of-tree build (trunk). Please re-test your fix against this testcase and if the fix was incorrect or incomplete, please re-open the bug. Otherwise, ignore this notification and add ClusterFuzz-Wrong label. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by ClusterFuzz
, Oct 31Labels: Test-Predator-Auto-Components