提交 9d44cd16 编写于 作者: D Dr. Stephen Henson

Oops should check zero_pos >= 0.

上级 1d4e8791
......@@ -739,7 +739,7 @@ static int ipv6_from_asc(unsigned char *v6, const char *in)
/* Format result */
if (v6stat.zero_pos > 0)
if (v6stat.zero_pos >= 0)
{
/* Copy initial part */
memcpy(v6, v6stat.tmp, v6stat.zero_pos);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册