Home GnuPG
Diffusion GnuPG 4fa0a65676a2

scd: Fix possible uninitialized variables.

Description

scd: Fix possible uninitialized variables.

* scd/app-openpgp.c (do_change_pin): Initialize resultlen2.
(do_change_pin): Don't call wipe_and_free on the error path.
Initialize bufferlen2.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 19 2020, 4:39 AM
Parents
rG0da923a1240a: agent: Allow to pass a timestamp to genkey and import.
Branches
Unknown
Tags
Unknown