New issue
Advanced search Search tips

Issue 874210 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Nov 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Float-cast-overflow in blink::CSSPrimitiveValue::Create

Project Member Reported by ClusterFuzz, Aug 14

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=6061877495595008

Fuzzer: inferno_twister
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Float-cast-overflow
Crash Address: 
Crash State:
  blink::CSSPrimitiveValue::Create
  blink::SVGLength::NewValueSpecifiedUnits
  blink::SVGAnimatedTextLength::baseVal
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=551565:563900

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=6061877495595008

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Project Member

Comment 1 by ClusterFuzz, Aug 14

Components: Blink>CSS Blink>SVG
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 2 by ClusterFuzz, Aug 14

Labels: Test-Predator-Auto-Owner
Owner: tkent@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/68b36958a5252b72df14ef11646554c5d6760cb3 (Fix Pi-related constants for Chromium C++ style.).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
Labels: Test-Predator-Wrong-CLs
Owner: ----
Status: Untriaged (was: Assigned)
My CL just renamed variables.

Owner: f...@opera.com
Status: Assigned (was: Untriaged)
Given the transform, we'll likely end up producing SVGTextFragments which are (+/-)NaN wide - which would make getComputedTextLength produce NaN as well. There's really no "good" solution to that.
Project Member

Comment 6 by ClusterFuzz, Nov 15

ClusterFuzz has detected this issue as fixed in range 607946:607947.

Detailed report: https://clusterfuzz.com/testcase?key=6061877495595008

Fuzzer: inferno_twister
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Float-cast-overflow
Crash Address: 
Crash State:
  blink::CSSPrimitiveValue::Create
  blink::SVGLength::NewValueSpecifiedUnits
  blink::SVGAnimatedTextLength::baseVal
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=551565:563900
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=607946:607947

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=6061877495595008

See https://github.com/google/clusterfuzz-tools for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 7 by ClusterFuzz, Nov 15

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 6061877495595008 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment