mirror of https://github.com/lukechilds/node.git
Browse Source
By default v8 allocates typed arrays <= 64 bytes inside the v8 heap. In
these cases the memory pointer returned by Buffer::Data() can change
while the memory is being operated on. Resolve by passing a flag that
forces all typed arrays outside the v8 heap.
Fixes: 74178a5
"buffer: construct Uint8Array in JS"
PR-URL: https://github.com/nodejs/node/pull/2893
Reviewed-By: Fedor Indutny <fedor@indutny.com>
v5.x
Trevor Norris
9 years ago
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue