[
https://issues.apache.org/jira/browse/ZOOKEEPER-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flavio Junqueira updated ZOOKEEPER-2492:
----------------------------------------
Assignee: spooky000
> 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.5.3, 3.6.0
>
> Attachments: 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
(v6.3.4#6332)