mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
In the Array.slice method when the engine uses fast arrays the "end" value was not updated if the input array's length changed. This can occur when the start/end index normalization executes a method and the length is changed forcefully. This leads to a buffer-overflow as the element copy reads too much data from the input array. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com