You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/03/13 16:22:10 UTC

[jira] [Updated] (ZOOKEEPER-2492) gethostname return error before Win32WSAStartup on windows.

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

Michael Han updated ZOOKEEPER-2492:
-----------------------------------
    Fix Version/s:     (was: 3.5.3)
                   3.5.4

> 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.4, 3.6.0
>
>         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
(v6.3.15#6346)