Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.5.2
-
Windows
Description
in addrvec_contains function
this memcmp always return false on windows release build.
for (i = 0; i < avec->count; i++)
{
if(memcmp(&avec->data[i], addr, INET_ADDRSTRLEN) == 0)
return 1;
}
because..
#define INET_ADDRSTRLEN 16 on linux.
#define INET_ADDRSTRLEN 22 on windows.
Attachments
Attachments
Issue Links
- is fixed by
-
ZOOKEEPER-3726 invalid ipv6 address comparison in C client
- Closed
- is related to
-
ZOOKEEPER-3726 invalid ipv6 address comparison in C client
- Closed
- links to