You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ka...@apache.org on 2018/08/21 12:55:21 UTC

[mesos] branch master updated: Updated Zookeeper patch to fix format error.

This is an automated email from the ASF dual-hosted git repository.

kapil pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new d788784  Updated Zookeeper patch to fix format error.
d788784 is described below

commit d78878493ed1685a3eee6fbdaa32d4e204aaeb14
Author: Kapil Arya <ka...@mesosphere.io>
AuthorDate: Wed Aug 15 19:26:39 2018 -0400

    Updated Zookeeper patch to fix format error.
    
    This is a backport of:
      https://github.com/apache/zookeeper/pull/559/
    
    Review: https://reviews.apache.org/r/68370/
---
 3rdparty/zookeeper-3.4.8.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/3rdparty/zookeeper-3.4.8.patch b/3rdparty/zookeeper-3.4.8.patch
index edfc3b5..0a21596 100644
--- a/3rdparty/zookeeper-3.4.8.patch
+++ b/3rdparty/zookeeper-3.4.8.patch
@@ -1745,3 +1745,28 @@ index dc3ab43e3..000000000
 -	<Globals>
 -	</Globals>
 -</VisualStudioProject>
+From 4343ef1db40ebe2a744326000eff725deb55f97f Mon Sep 17 00:00:00 2001
+From: Kapil Arya <ka...@mesosphere.io>
+Date: Thu, 16 Aug 2018 15:53:53 -0400
+Subject: [PATCH] Backported a format error fix.
+
+This patch backports https://github.com/apache/zookeeper/pull/559.
+---
+ src/c/src/zookeeper.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/c/src/zookeeper.c b/src/c/src/zookeeper.c
+index 1ba90afa..a4c28e36 100644
+--- a/src/c/src/zookeeper.c
++++ b/src/c/src/zookeeper.c
+@@ -3440,7 +3440,7 @@ int zoo_add_auth(zhandle_t *zh,const char* scheme,const char* cert,
+ static const char* format_endpoint_info(const struct sockaddr_storage* ep)
+ {
+     static char buf[128];
+-    char addrstr[128];
++    char addrstr[INET6_ADDRSTRLEN];
+     void *inaddr;
+ #ifdef WIN32
+     char * addrstring;
+--
+2.18.0