1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 5996c7bf99
gpg: Fix memory leak in the error case of signature creation.
* g10/sign.c (write_signature_packets): Free SIG.  Also replace
xcalloc by xtrycalloc.
--

If do_sign fails SIG was not released.  Note that in the good case SIG
is transferred to PKT and freed by free_packet.

Reported-by: Stephan Müller
Signed-off-by: Werner Koch <wk@gnupg.org>
2017-02-10 17:58:26 +01:00
..
2016-11-29 14:56:00 +01:00
2016-11-29 16:48:35 +01:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2017-01-18 10:07:53 +01:00
2016-11-15 17:50:03 +01: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-01-23 19:16:55 +01:00
2016-03-08 14:08:49 +01:00
2016-12-06 12:16:56 +01:00