Unverified Commit 0e9e149d authored by Ingvar Stepanyan's avatar Ingvar Stepanyan Committed by Anna Henningsen
Browse files

buffer: fix creating from zero-length ArrayBuffer

Fixes regression where creating a new Buffer from an
empty ArrayBuffer would fail.

Ref: https://github.com/nodejs/node/commit/85ab4a5f1281c4e1dd06450ac7bd3250326267fa
PR-URL: https://github.com/nodejs/node/pull/7176


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarСковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: default avatarRon Korving <ron@ronkorving.nl>
parent 0c73c9fe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment