1
0
Fork 0
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:
David Shaw 2004-08-23 14:24:05 +00:00
parent 4615a538bf
commit b27b7aea6d
2 changed files with 7 additions and 0 deletions

View file

@ -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. */