Home GnuPG
Diffusion GPGME 651b3d8207cc

Fix uid parsing for ldap keyserver

Description

Fix uid parsing for ldap keyserver

* src/engine-gpg.c (gpg_keylist_preprocess): Check field count
for uid and add fallback.

This fixes accessing unintialized memory and resulting
crashes in gpgrt_asprintf.

Details

Provenance
aheineckeAuthored on Dec 1 2017, 9:44 AM
Parents
rMf43016500774: tests: Add missing variable to gpgsm tests Makefile
Branches
Unknown
Tags
Unknown
Tasks
T3550: Kleopatra: Crash when searching in LDAP