Closed vincentbernat closed 9 years ago
The compressed version of the IPv6 address is computed using a succession of strlcat(). The buffer needs to be empty for this to work as expected.
buffer[0] = '\0'; would be sufficient but I did notice that memset() was used everywhere else.
buffer[0] = '\0';
memset()
Good catch, thanks!
The compressed version of the IPv6 address is computed using a succession of strlcat(). The buffer needs to be empty for this to work as expected.
buffer[0] = '\0';
would be sufficient but I did notice thatmemset()
was used everywhere else.