aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-04-14 08:04:56 +0000
committerWerner Koch <[email protected]>2022-04-14 08:15:23 +0000
commit8ac92f0e807a3dfb6da46fdea1f9f2c89cc5ebc2 (patch)
treeb4d1546a637ed759904c369c9e5afa907a965618 /agent/command-ssh.c
parenttests: Fix warning in common/t-ssh-utils.c (diff)
downloadgnupg-8ac92f0e807a3dfb6da46fdea1f9f2c89cc5ebc2.tar.gz
gnupg-8ac92f0e807a3dfb6da46fdea1f9f2c89cc5ebc2.zip
scd: Fix memory leak in ccid-driver.
* scd/ccid-driver.c (ccid_dev_scan): Use loop var and not the count. -- Due to an assignment out of bounds this might lead to a crash if there are more than 15 readers. In any case it fixes a memory leak. Kudos to the friendly auditor who found that bug. Fixes-commit: 8a41e73c31adb86d4a7dca4da695e5ad1347811f
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions