skia/skia/fba326b8829e469ac02e5a68a0d36982ef1975bc [ganesh] Guard verb counts in tessellation accumulation against overflow
Rejects adding a path if the total verb count would overflow.
Rejects merging ops if their total verb counts would overflow.
Clamps the min allocation size in the GrVertexChunkArray to prevent
overflow.
Clamps the preallocation verb count parameter to avoid overflow in their
intermediate calculations.
Bug: b/484983991
Change-Id: I32359cf10a996baf46b023a6cb8c608834942e0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1169977
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Thomas Smith <thomsmit@google.com>
(cherry picked from commit 03d405099043409a7925e54d7cfad73a9c5ad8db)
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1176957
Commit-Queue: Thomas Smith <thomsmit@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
5 files changed