cpp: Fix use after free in gencardkeyinteractor
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 8 Aug 2018 07:22:46 +0000 (09:22 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 8 Aug 2018 07:22:46 +0000 (09:22 +0200)
commit3b782443600e8091c5f19580cb218100bcbb4ad7
tree972441765476b917ecb47aeec5b07884ff39f35b
parentd09d19fa9fe1e81dd819b32208b4bd09f83e3918
cpp: Fix use after free in gencardkeyinteractor

* lang/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::Private::keysize): Change to string.

--
The value is only required as string so we can save it this
way to avoid the need to convert it for the action command.

GnuPG-Bug-Id: T4094
lang/cpp/src/gpggencardkeyinteractor.cpp