mirror of https://github.com/lukechilds/node.git
Browse Source
Original commit message: Fix incorrect parameter to HasSufficientCapacity It takes the number of additional elements, not the total target capacity. Also, avoid right-shifting a negative integer as this is undefined in general BUG=v8:4909 R=verwaest@chromium.org Review-Url: https://codereview.chromium.org/2162333002 Cr-Commit-Position: refs/heads/master@{#37901} Fixes: https://github.com/nodejs/node/issues/6180 Ref: https://github.com/nodejs/node/pull/7883 PR-URL: https://github.com/nodejs/node/pull/7689 Reviewed-By: Matt Loring <mattloring@google.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v4.x
Matt Loring
9 years ago
committed by
Myles Borins
3 changed files with 26 additions and 12 deletions
Loading…
Reference in new issue