summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-09-16 22:45:00 -0700
committerRich Trott <rtrott@gmail.com>2016-09-21 22:47:33 -0700
commitd2eb7ce0105369a9cad82787cb33a665e9bd00ad (patch)
tree1bf8e4caca2d4fa073263773d82114de6e0f80eb /deps/v8/test/cctest
parent7b7d50a29e098cea525892ad51e61cfa2897e8b8 (diff)
downloadnode-new-d2eb7ce0105369a9cad82787cb33a665e9bd00ad.tar.gz
src: Malloc/Calloc size 0 returns non-null pointer
Change `Malloc()/Calloc()` so that size zero does not return a null pointer, consistent with prior behavior. Fixes: https://github.com/nodejs/node/issues/8571 PR-URL: https://github.com/nodejs/node/pull/8572 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@keybase.io> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'deps/v8/test/cctest')
0 files changed, 0 insertions, 0 deletions