1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 4a130bbc2c
gpg: Fix attempt to double free an UID structure.
* g10/getkey.c (get_best_pubkey_byname): Set released .UID to NULL.
--

Phil Pennock reported an assertion failure when doing

  % gpg --auto-key-locate dane --locate-keys someone
  gpg: Ohhhh jeeee: Assertion "uid->ref > 0" in \
         free_user_id failed (free-packet.c:310)

on his keyring.  This patch is not tested but a good guess.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-03-06 07:57:08 +01:00
..
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-11-29 16:48:35 +01:00
2017-02-21 13:11:46 -05:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2017-02-21 13:11:46 -05:00
2017-01-18 10:07:53 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-01-22 10:54:10 +01:00
2016-11-29 14:56:00 +01:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-01-23 19:16:55 +01:00
2016-03-08 14:08:49 +01:00
2017-02-21 13:11:46 -05:00
2016-12-06 12:16:56 +01:00