Prevents integer overflow in Vector.h
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jun 2016 21:09:59 +0000 (21:09 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jun 2016 21:09:59 +0000 (21:09 +0000)
commiteeb152343dce0666f48fec0a45b545bfcdcd3954
tree751c86812c455c415a4b0b0d43e1fea117606f4a
parentbde5b1308dd5740c809991b07837d5fb9efce465
Prevents integer overflow in Vector.h
https://bugs.webkit.org/show_bug.cgi?id=158455
<rdar://problem/20235469>

Patch by Pranjal Jumde <pjumde@apple.com> on 2016-06-07
Reviewed by Mark Lam.

* bmalloc/Vector.h:
(bmalloc::Vector<T>::reallocateBuffer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@201772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/Vector.h