DescriptionHandle bad ICO data better.
Interpret size and offset as size_t, as they should be. When read
as int, they could be negative values. If they are negative (rather
than positive and very large), they will not allow us to fail the
length test, resulting in trying to read uninitialized memory.
BUG=b/16010240
Committed: https://skia.googlesource.com/skia/+/57ad493789cb1a97574390b5ccf4fb9183ed3814
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|