-
barraclough@apple.com authored
2008-07-22 Gavin Barraclough <barraclough@apple.com> Reviewed by Alexey Proskuryakov. Prevent integer overflow when reallocating storage vector for arrays. Sunspider reports 1.005x as fast (no change expected). * kjs/JSArray.cpp: WebCore: 2008-07-22 Gavin Barraclough <barraclough@apple.com> Reviewed by Alexey Proskuryakov. New test to check that arrays fail gracefully (throw an out of memory exception) when the vector grows to large. * manual-tests/array-out-of-memory.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7ee518df