DescriptionPrevent use of stale list length for to-animations of transform lists
When animating a transform list with a "To animation", the from value
will be the currently animated value, and hence the clear() in
SVGTransformList::calculateAnimatedValue will modify the fromList, and
clobber the |fromListSize| local variable - leading to an out-of-bounds
access.
To avoid this, acquire the reference to the effectiveFrom value earlier -
before the clear(). Also fold the single use of |fromListSize|.
BUG=368481
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173192
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|