1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-09 12:54:23 +01:00
Justus Winter 5840353d8b g10: Fix crash.
* g10/getkey.c (get_best_pubkey_byname): If 'get_pubkey_byname' does
not return a getkey context, then it can return at most one key,
therefore there is nothing to rank.  Also, always initialize '*retctx'
to be on the safe side.

GnuPG-bug-id: 2828
Fixes: ab89164be02012f1bf159c971853b8610e966301
Signed-off-by: Justus Winter <justus@g10code.com>
2016-11-07 12:57:30 +01:00
..
2014-10-31 14:21:34 +01:00
2016-11-07 12:57:30 +01:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2016-01-22 10:54:10 +01:00
2016-03-08 14:08:49 +01:00