scd: Fix possibly inhibited checkpin of the admin pin.
authorWerner Koch <wk@gnupg.org>
Fri, 12 Dec 2014 19:08:45 +0000 (20:08 +0100)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 Jan 2015 00:07:53 +0000 (09:07 +0900)
commitc83e250ef36c28a275de74d96e89898e9f99cb1e
tree1e74c189a64e1d7eb2b4a54a97b7a81f696202c7
parent3ca1f4098c70d322658cfaaa0d12164e6ac6d5ad
scd: Fix possibly inhibited checkpin of the admin pin.

* scd/app-openpgp.c (do_check_pin): Do not check a byte of a released
buffer.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/app-openpgp.c