Skip to content
Commits on Source (2)
zookeeper (3.4.12-2) UNRELEASED; urgency=medium
* Add patch for FTBFS with GCC-8 (Closes: #897892)
-- tony mancill <tmancill@debian.org> Sat, 30 Jun 2018 20:59:21 -0700
zookeeper (3.4.12-1) unstable; urgency=medium
* Team upload.
......
Description: Address FTBFS with gcc-8 due to format-overflow
Author: tony mancill <tmancill@debian.org>
--- a/src/c/src/zookeeper.c
+++ b/src/c/src/zookeeper.c
@@ -3477,7 +3477,7 @@
static const char* format_endpoint_info(const struct sockaddr_storage* ep)
{
- static char buf[128];
+ static char buf[128 + 6]; // include space for the port :xxxxx
char addrstr[128];
void *inaddr;
#ifdef WIN32
......@@ -9,3 +9,4 @@
11-disable-minikdc-tests.patch
12-add-yetus-annotations.patch
13-disable-netty-connection-factory.patch
14-ftbfs-with-gcc-8.patch