Microsoft Edge Array.filter Information Leak
Posted by deepcore on November 19, 2016 – 3:14 am
There is an info leak in Array.filter. In Chakra, the destination array that arrays are filtered into is initialized using ArraySpeciesCreate, which can create both native and variable arrays. However, the loop that calls the filter function assumes that the destination array is a variable array, and sets each value using DirectSetItemAt, which is unsafe, and can lead to a var pointer being written to an integer array.
Post a reply
You must be logged in to post a comment.