From: Frédéric Marchal Date: Fri, 24 Jun 2011 07:53:10 +0000 (+0000) Subject: A IPv6 address is made of 8 short int X-Git-Tag: v2.3.2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b88fb6687b241acda3c6c4967a9a7cfbf9e609d;p=thirdparty%2Fsarg.git A IPv6 address is made of 8 short int The allocated buffer was too small. --- diff --git a/url.c b/url.c index 6de0abf..c41c117 100644 --- a/url.c +++ b/url.c @@ -71,7 +71,7 @@ struct hostalias_ipv6 //! The next host name in the list or NULL for the last item. struct hostalias_ipv6 *Next; //! The IP address. - unsigned short Ip[6]; + unsigned short Ip[8]; //! The number of bits in the prefix. int NBits; //! The replacement name.