summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-04-24 15:45:51 +0200
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2020-04-28 16:28:34 +0100
commit1af08e1c5e4a6a6126b0b31104e05aae62b3c7fb (patch)
tree0ef06cbb4bfe135ea377d95672de9027b4f4f2be /lib
parent31c797cb116287e46087ba218056a70f67256fdd (diff)
downloadnode-new-1af08e1c5e4a6a6126b0b31104e05aae62b3c7fb.tar.gz
buffer,n-api: fix double ArrayBuffer::Detach() during cleanup
These calls could fail if the `ArrayBuffer` had already been explicitly detached at some point in the past. The necessary test changes already came with 4f523c2c1a1c and could be ported back to v12.x with a backport of this PR. Fixes: https://github.com/nodejs/node/issues/33022 Refs: https://github.com/nodejs/node/pull/30551 PR-URL: https://github.com/nodejs/node/pull/33039 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions