Leon Scroggins III 462dd01046 Fix overflow in NinePatchImpl.
Cast numXDivs to a size_t before adding 1, so that if numXDivs is 255
it does not overflow. Move the calculation outside of alloca().

BUG:20727488
Change-Id: I2ecc9d650338acba7316554cb72195e02816b1f8
2015-05-21 12:20:26 -04:00
..
2015-05-21 12:20:26 -04:00