DescriptionVerify size_t overflow
In 32 bits, it's possible that multiplying 2 32b values might overflow a size_t, which could be 32b unsigned in that context, so I added a check for size_t overflow.
BUG=445831
Committed: https://skia.googlesource.com/skia/+/bd0d9da981289504c9dcd8547eaad52b1f4a52cb
Patch Set 1 #
Total comments: 1
Patch Set 2 : New version #
Total comments: 4
Patch Set 3 : Used SkToSizeT #
Total comments: 1
Messages
Total messages: 13 (3 generated)
|