mirror of https://github.com/lukechilds/node.git
Browse Source
When our estimates for a storage size are higher than the actual length of decoded data, the destination buffer should be truncated. Otherwise `Buffer::Length` will give misleading information to C++ layer. fix #7365 Signed-off-by: Fedor Indutny <fedor@indutny.com>v0.11.13-release
Fedor Indutny
11 years ago
committed by
Fedor Indutny
3 changed files with 49 additions and 1 deletions
Loading…
Reference in new issue