Home GnuPG
Diffusion Scute bc53a3e54f6a

agent: Fix off-by-one error for the length of CMD buffer.

Description

agent: Fix off-by-one error for the length of CMD buffer.

* src/agent.c (scute_agent_sign): 151 is needed for sha512 hash.
Raise a correct error when it's not enough.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 6 2023, 3:20 AM
Parents
rS0b264b2da862: Remove a file to be generated.
Branches
Unknown
Tags
Unknown