mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +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
|
@ -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