[PATCH] dirmngr: Fix segfault in ldap engine
Kristian Fiskerstrand
kristian.fiskerstrand at sumptuouscapital.com
Sun Apr 12 01:29:35 CEST 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnupg-2.1.3-dirmngr-Fix-segfault-in-ldap-engine.patch
Type: text/x-patch
Size: 962 bytes
Desc: not available
URL: </pipermail/attachments/20150412/72d7b745/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150412/72d7b745/attachment.sig>
More information about the Gnupg-devel
mailing list