Fixed potential length miscalculations by limiting max size of arrays and strings.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Jan 2010 13:17:18 +0000 (13:17 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Jan 2010 13:17:18 +0000 (13:17 +0000)
commitdddadf9f7e98bad3ce54676c733e32c91050b24a
tree9ffa23a69fac909650789fc6a409ebec187a3360
parentc4416d628de80064ee5892a5e17f4d83eab407bd
Fixed potential length miscalculations by limiting max size of arrays and strings.

Review URL: http://codereview.chromium.org/525064

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/objects.cc
src/objects.h
src/runtime.cc
src/utils.cc