From cd712c29c4700f17ae120b6ea19698a0c84c5f29 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 17 Jul 2015 20:16:25 +0000 Subject: [PATCH] - compilation fix (from PLD) --- openssh-ldap.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh-ldap.patch b/openssh-ldap.patch index 994ef59..67a7c07 100644 --- a/openssh-ldap.patch +++ b/openssh-ldap.patch @@ -1302,7 +1302,7 @@ diff -up openssh-6.2p2/ldapconf.c.ldap openssh-6.2p2/ldapconf.c + len = snprintf (options.uri, MAXURILEN, "ldap%s://%s:%d", + (options.ssl == 0) ? "" : "s", options.host, options.port); + options.uri[MAXURILEN - 1] = 0; -+ options.uri = xrealloc (options.uri, len + 1, 1); ++ options.uri = xreallocarray (options.uri, len + 1, 1); + } + if (options.binddn == NULL) + options.binddn = ""; -- 2.52.0