From 626e8e98d5db19410a9fb04d1834a5bcc77896c4 Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Thu, 27 Dec 2018 14:16:17 -0600
Subject: ipv6 address didn't fit in the buffer.

---
 toys/pending/host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/pending/host.c b/toys/pending/host.c
index 50de1d34..5e3edd87 100644
--- a/toys/pending/host.c
+++ b/toys/pending/host.c
@@ -71,7 +71,7 @@ void host_main(void)
       i, j, ret, sec, count, rcode, qlen, alen, pllen = 0;
   unsigned ttl, pri, v[5];
   unsigned char qbuf[280], abuf[512], *p;
-  char *name, *nsname, rrname[256], plname[640], ptrbuf[64];
+  char *name, *nsname, rrname[256], plname[640], ptrbuf[128];
   struct addrinfo *ai, iplit_hints = { .ai_flags = AI_NUMERICHOST };
 
   name = *toys.optargs;
-- 
cgit v1.2.3