mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings that
got shrunk due to encoding.
This commit is contained in:
parent
4615a538bf
commit
b27b7aea6d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-08-23 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings
|
||||
that got shrunk due to encoding.
|
||||
|
||||
2004-08-22 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue