13 lines
587 B
Diff
13 lines
587 B
Diff
diff -up adns-1.4/client/adnsresfilter.c.rh761513 adns-1.4/client/adnsresfilter.c
|
|
--- adns-1.4/client/adnsresfilter.c.rh761513 2012-05-22 09:33:52.473128445 +0200
|
|
+++ adns-1.4/client/adnsresfilter.c 2012-05-22 09:34:18.279601665 +0200
|
|
@@ -68,7 +68,8 @@ static int peroutqueuenode, outqueuelen;
|
|
static struct sockaddr_in sa;
|
|
static adns_state ads;
|
|
|
|
-static char addrtextbuf[14];
|
|
+/* Size for worst case of "[255.255.255.255]" and leave room for null */
|
|
+static char addrtextbuf[18];
|
|
static int cbyte, inbyte, inbuf;
|
|
static unsigned char bytes[4];
|
|
static struct timeval printbefore;
|