diff options
author | Matt Kulukundis <matt.fowles@gmail.com> | 2020-04-17 02:30:08 +0300 |
---|---|---|
committer | Jan Krems <jan.krems@gmail.com> | 2020-04-21 17:38:04 +0300 |
commit | 10cc254790bea4dbad5572eb0eef25b43061f440 (patch) | |
tree | b48420b44e7ddacff526ce3e84ecb0386910e70b /doc/changelogs/CHANGELOG_V010.md | |
parent | 4299e976ec4a7c4d1a21ad77c442e7ac82db3f93 (diff) |
src: fix null deref in AllocatedBuffer::clear
An empty buffer can have a null environment. Previously, we were
getting away with with this, but -fsanitize=null in clang caught it.
PR-URL: https://github.com/nodejs/node/pull/32892
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'doc/changelogs/CHANGELOG_V010.md')
0 files changed, 0 insertions, 0 deletions