0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps
Gireesh Punathil 40ede46690 cares: Support malloc(0) scenarios for AIX
Many places in cares library, when the stream data arrives
from the network with respect to dns and reverse dns
resolution, they are populated into data structures created
dymaically based on the size of the data. Malloc is heavily
used for such cases.

Often, based on the data length, malloc(0) is invoked. Linux
behavior on zero byte allocation is to return a valid pointer
where in AIX, it always return NULL.

This manifestst as test failure of test/internet/test-dns.js

Solution is to build cares with Linux compatible malloc behavior

PR-URL: https://github.com/nodejs/node/pull/6305
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
2016-04-21 19:20:37 -04:00
..
cares cares: Support malloc(0) scenarios for AIX 2016-04-21 19:20:37 -04:00
gtest
http_parser deps: update to http-parser 2.7.0 2016-04-19 11:47:39 -04:00
npm deps: floating fix for npm's test-node script 2016-04-14 12:24:02 -04:00
openssl build: enable compilation for linuxOne 2016-03-29 18:52:48 -04:00
uv deps: upgrade libuv to 1.9.0 2016-04-07 10:48:27 -03:00
v8 deps: upgrade to V8 5.0.71.34 2016-04-21 10:04:02 -07:00
zlib