diff options
author | David Shaw <[email protected]> | 2004-08-23 14:24:05 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-08-23 14:24:05 +0000 |
commit | b27b7aea6df7c16dffa0f823ad5e368d7d6c1444 (patch) | |
tree | 3f4fd9e3cd98b05692fca11e187d2feb096b005d /keyserver/gpgkeys_ldap.c | |
parent | * gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along with a (diff) | |
download | gnupg-b27b7aea6df7c16dffa0f823ad5e368d7d6c1444.tar.gz gnupg-b27b7aea6df7c16dffa0f823ad5e368d7d6c1444.zip |
* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings that
got shrunk due to encoding.
Diffstat (limited to '')
-rw-r--r-- | keyserver/gpgkeys_ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c index 41bf58692..91dca0614 100644 --- a/keyserver/gpgkeys_ldap.c +++ b/keyserver/gpgkeys_ldap.c @@ -534,6 +534,8 @@ build_attrs(LDAPMod ***modlist,char *line) else userid[i++]=*tok++; + userid[i]='\0'; + /* We don't care about the other info provided in the uid: line since the LDAP schema doesn't need it. */ |