Skip to content

Conversation

@copybara-service
Copy link

Fix a float-to-int cast crash in AppendArcToPolyline

This crash was found by temporarily re-enabling the stroke generation fuzz test in strokes/stroke_test.cc, as the crash can be triggered by an adversarial (but valid) brush definition. Fixing this crash is one step toward re-enabling that fuzz test.

@copybara-service copybara-service bot force-pushed the test_826478319 branch 2 times, most recently from ae38134 to d4794e9 Compare October 31, 2025 16:30
This crash was found by temporarily re-enabling the stroke generation fuzz test in `strokes/stroke_test.cc`, as the crash can be triggered by an adversarial (but valid) brush definition.  Fixing this crash is one step toward re-enabling that fuzz test.

PiperOrigin-RevId: 826520199
@copybara-service copybara-service bot merged commit aadbefc into main Oct 31, 2025
@copybara-service copybara-service bot deleted the test_826478319 branch October 31, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant