OSDN Git Service

Add getaddrinfo(3) tests for NULL arguments.
authorElliott Hughes <enh@google.com>
Sun, 16 Nov 2014 18:14:54 +0000 (10:14 -0800)
committerElliott Hughes <enh@google.com>
Sun, 16 Nov 2014 20:14:04 +0000 (12:14 -0800)
commit32fea147eaac4b811440a29d362fdad7e2c5a4ec
tree5552504e6722783d4dfe38805c3e260106ea01e3
parent288fa03a5aa5ee69c321e7266cdc656d11d8c022
Add getaddrinfo(3) tests for NULL arguments.

According to https://github.com/ukanth/afwall/pull/213 some OEMs have
shipped a getaddrinfo(3) that crashes given NULL hostnames.

Change-Id: I9cea5fdd68546b7c64cf47e10e2b2b4d672b69d0
tests/netdb_test.cpp