#include #include #include #include void TestOneInput(const uint8_t *p, size_t n) { char buf[16]; char *s = strndup((char*)p, n); inet_pton(AF_INET6, s, buf); free(s); }