1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch e888f7af65
gpg: Fix possible double free of the card serialno.
* g10/free-packet.c (copy_public_key): Copy fields serialno and
updateurl.
--

The PK->serialno is used to get the version of the card to decide
whether it does support other algorithms than SHA-1.  This value is
cached but no deep copy was done when calling copy_public_key.

Bug detected by importing some public keys and then importing a secret
key which led to a double free.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-07-21 17:49:10 +02:00
..
2017-07-13 18:29:01 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-05-30 14:30:43 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-07-17 15:53:16 +02:00
2017-03-07 20:25:54 +09:00
2017-04-17 09:15:13 +09:00
2017-03-07 20:25:54 +09:00
2015-02-04 09:15:34 +01:00
2017-07-20 18:13:40 +02:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-06-21 15:51:10 +02:00
2017-03-07 20:25:54 +09:00
2017-07-20 18:13:40 +02:00
2017-06-13 15:36:47 +02:00
2017-06-20 10:46:52 +02:00
2017-07-20 18:13:40 +02:00
2017-07-20 18:13:40 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-05-02 18:55:32 +09:00
2017-07-20 18:13:40 +02:00
2017-07-13 18:29:01 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2017-07-17 15:53:16 +02:00
2016-03-08 14:08:49 +01:00
2017-04-28 10:06:33 +09:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2016-12-06 12:16:56 +01:00
2017-03-31 20:07:20 +02:00
2017-04-28 10:06:33 +09:00
2017-04-28 10:06:33 +09:00