[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enrico Olivelli updated ZOOKEEPER-2492:
---------------------------------------
    Fix Version/s: 3.5.7

> gethostname return error before Win32WSAStartup on windows.
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-2492
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2492
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.5.2
>         Environment: windows
>            Reporter: spooky000
>            Assignee: spooky000
>            Priority: Trivial
>             Fix For: 3.6.0, 3.5.6, 3.5.7
>
>         Attachments: ZOOKEEPER-2492.patch, ZOOKEEPER-2492.patch, 
> ZOOKEEPER-2492.patch
>
>
> gethostname return error before Win32WSAStartup on windows.
> in log_env function.
> gethostname(buf, sizeof(buf));
> LOG_INFO(LOGCALLBACK(zh), "Client environment:host.name=%s", buf);
> buf will be uninitialized buffer.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to