Fix input and output bugs in P10 IPv6 addresses with zero elements.
authorMichael Poole <mdpoole@troilus.org>
Wed, 23 Sep 2009 15:26:33 +0000 (11:26 -0400)
committerMichael Poole <mdpoole@troilus.org>
Wed, 23 Sep 2009 15:26:33 +0000 (11:26 -0400)
commita0db5f020908f6ff739f20ae7c1bc1c197521b8e
treeeacc06682317dc2940bea66ca11cc0e9c4db38a2
parentda4f55931f455704377dd361895130c33748df0c
Fix input and output bugs in P10 IPv6 addresses with zero elements.

src/proto-p10.c (irc_p10_pton): Avoid writing past the end of ip->in6.
  (irc_p10_ntop): Avoid writing past the end of output.
src/proto-p10.c