[PATCH] dirmngr: Fix segfault in ldap engine

Neal H. Walfield neal at walfield.org
Mon Apr 13 10:41:22 CEST 2015


Hi Kristian,

Thanks for reporting these issues.  I'll take a look at them soon.

Neal

At Sun, 12 Apr 2015 01:29:35 +0200,
Kristian Fiskerstrand wrote:
> 
> dirmngr: keyserver --help results in segfault, backtrace on [0]. Patch
> attached:
> 
> (ks-engine-ldap.c) Fix segfault caused by missing check whether uri is
> initialized
> 
> Additionally two issues with LDAP support:
> (i) --refresh-keys is not implemented , so can't do gpg --keyserver
> ldap://keys.domain --refresh-keys @domain
> gpg: keyserver refresh failed: Not supported
> 
> (ii) No warning is printed if returned list is truncated. 2.0 gives a
> gpgkeys: search results exceeded server limit.  First 2 results shown.
> 2.1 just prints the two records returned with no warning.
> 
> References:
> [0] http://download.sumptuouscapital.com/gnupg/gnupg-2.1.3-segfault.txt
> -- 
> ----------------------------
> Kristian Fiskerstrand
> Blog: http://blog.sumptuouscapital.com
> Twitter: @krifisk
> ----------------------------
> Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
> fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
> ----------------------------
> Veni vidi visa
> I came, I saw, I bought



More information about the Gnupg-devel mailing list