Home GnuPG
Diffusion GnuPG df97fe248078

agent: Avoid appending a '\0' byte to the response of READKEY

Description

agent: Avoid appending a '\0' byte to the response of READKEY

* agent/command.c (cmd_readkey): Set pkbuflen to the length of the output
without an extra '\0' byte.

Details

Provenance
Katsuhiro Ueno <uenobk@gmail.com>Authored on Feb 7 2018, 10:52 AM
wernerCommitted on Feb 14 2018, 5:11 PM
Parents
rG80719612b7e9: sm: Fix minor memory leak in --export-p12.
Branches
Unknown
Tags
Unknown