]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh-ldap.patch
- up to 6.9p1
[packages/openssh.git] / openssh-ldap.patch
index 994ef59a43af613ac34fc3a0d739ca024bea8a8a..67a7c075976dc370d2fb791865a239c7f14b1e7c 100644 (file)
@@ -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 = "";
This page took 0.02352 seconds and 4 git commands to generate.