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 | |
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/ChangeLog | 5 | ||||
-rw-r--r-- | keyserver/gpgkeys_ldap.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 07ecd1769..3dece69d4 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,8 @@ +2004-08-23 David Shaw <[email protected]> + + * gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings + that got shrunk due to encoding. + 2004-08-22 David Shaw <[email protected]> * gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along 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. */ |