1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02:00
gnupg/scd
Jakub Jelen 678e1b20d3
scd: avoid memory leaks
* scd/app-p15.c (send_certinfo): free labelbuf
  (do_sign): goto leave instead of return
* scd/command.c (cmd_genkey): goto leave instead of return

--

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
GnuPG-bug-id: 5393

Modifified for this backport:

* scd/command.c (cmd_genkey): Make it easier to read by replacing
keyno with orig_line.

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-05-20 15:19:19 +02:00
..
apdu.c scd,pcsc: Use a single context. 2021-05-07 09:53:29 +02:00
apdu.h scd: Add new status codes. 2021-04-29 10:14:53 +02:00
app-common.h scd: Add option --info to emit KEYPAIRINFO by readkey command. 2021-05-03 20:15:03 +02:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2021-04-29 10:52:43 +02:00
app-geldkarte.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-help.c scd: Add option --info to emit KEYPAIRINFO by readkey command. 2021-05-03 20:15:03 +02:00
app-nks.c Assorted memory leak fixes on the error code paths. 2021-05-20 14:51:42 +02:00
app-openpgp.c scd: Fix unblock PIN by a Reset Code with KDF. 2021-05-04 10:27:32 +02:00
app-p15.c scd: avoid memory leaks 2021-05-20 15:19:19 +02:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2021-04-29 10:52:43 +02:00
app.c scd: Change parameters of readkey fucntion pointer. 2021-02-19 10:10:28 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Fix CCID driver for SCM SPR332/SPR532. 2021-04-08 13:45:38 +09:00
ccid-driver.h scd: Clean up the structure for future fix of PC/SC. 2020-10-06 11:17:58 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: avoid memory leaks 2021-05-20 15:19:19 +02:00
iso7816.c scd: New function for iso7816 PSO_CSV. 2021-04-29 10:44:12 +02:00
iso7816.h scd: New function for iso7816 PSO_CSV. 2021-04-29 10:44:12 +02:00
Makefile.am w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon.c scd: Add string for another PC/SC error code. 2021-05-04 10:33:30 +02:00
scdaemon.h scd: New option --pcsc-shared. 2021-04-29 19:43:23 +02:00
scdaemon.w32-manifest.in w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00