0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Ben Noordhuis 594500f9f1 buffer: don't CHECK on zero-sized realloc
malloc(0) and realloc(ptr, 0) have implementation-defined behavior in
that the standard allows them to either return a unique pointer or a
nullptr for zero-sized allocation requests.  Normalize by always using
a nullptr.

Fixes: https://github.com/nodejs/node/issues/3496
PR-URL: https://github.com/nodejs/node/pull/3499
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-10-23 21:47:50 +02:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons test: add node::MakeCallback() test coverage 2015-10-23 18:43:06 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger test: load common.js in all tests 2015-10-06 15:11:47 -07:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures util: Remove p, has been deprecated for years 2015-10-19 20:52:56 +02:00
gc src: replace usage of v8::Handle with v8::Local 2015-09-06 21:38:05 +10:00
internet test: skip test-dns-ipv6.js if ipv6 is unavailable 2015-10-20 12:07:22 -07:00
message test: remove flaky status from eval_messages test 2015-10-20 12:16:00 -07:00
parallel buffer: don't CHECK on zero-sized realloc 2015-10-23 21:47:50 +02:00
pummel test: change calls to deprecated util.print() 2015-09-28 13:21:15 -07:00
sequential test: fix flaky test-child-process-emfile 2015-10-20 15:41:37 -07:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: disable test-tick-processor - aix and be ppc 2015-10-23 11:21:22 -04:00