chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adnsresfilter: Fix addrtextbuf buffer size
[adns]
/
client
/
adnsresfilter.c
diff --git
a/client/adnsresfilter.c
b/client/adnsresfilter.c
index 770af173169abc589897371ef9ff1de441f848b7..3e5255cac2b2302ca92a8ee34c7236a4b0cb7f64 100644
(file)
--- a/
client/adnsresfilter.c
+++ b/
client/adnsresfilter.c
@@
-67,7
+67,7
@@
static int peroutqueuenode, outqueuelen;
static struct sockaddr_in sa;
static adns_state ads;
-static char addrtextbuf[1
4];
+static char addrtextbuf[1
8]; /* [ddd.ddd.ddd.ddd] + nul */
static int cbyte, inbyte, inbuf;
static unsigned char bytes[4];
static struct timeval printbefore;