mirror of https://github.com/lukechilds/node.git
Browse Source
`malloc(0)` may return NULL on some platforms. Do not report out-of-memory error unless `malloc` was passed a number greater than `0`. PR-URL: https://github.com/nodejs/node/pull/8352 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>v7.x
Rich Trott
8 years ago
committed by
Michael Dawson
2 changed files with 1 additions and 6 deletions
Loading…
Reference in new issue