aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-12-27 14:16:17 -0600
committerRob Landley <rob@landley.net>2018-12-27 14:16:17 -0600
commit626e8e98d5db19410a9fb04d1834a5bcc77896c4 (patch)
tree1c7037832f849d5f0e9bd327fecb61ad12e57dad
parente5066ba5acc4d7044c7637fc04a51b349108ea0d (diff)
downloadtoybox-626e8e98d5db19410a9fb04d1834a5bcc77896c4.tar.gz
ipv6 address didn't fit in the buffer.
-rw-r--r--toys/pending/host.c2
1 files changed, 1 insertions, 1 deletions
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;