--- resolv/inet_addr.c.org Sun Mar 4 00:45:06 2001 +++ resolv/inet_addr.c Sun Mar 4 01:21:39 2001 @@ -183,7 +183,7 @@ * a.b.c (with c treated as 16 bits) * a.b (with b treated as 24 bits) */ - if (pp > res.bytes + 3 || val > 0xff) + if (pp > res.bytes + 2 || val > 0xff) goto ret_0; *pp++ = val; c = *++cp;