Home GnuPG
Diffusion GnuPG 555a9f5b3a0c

agent: Fix the regression in pkdecrypt with TPM RSA.

Description

agent: Fix the regression in pkdecrypt with TPM RSA.

* agent/divert-tpm2.c (divert_tpm2_pkdecrypt): Care about additional
0x00.

Cherry pick master commit of:
6eed3959303c81c9699fe9273030e480732f72be

  • GnuPG-bug-id: T8045
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Feb 12, 3:51 AM
Parents
rG01c130031806: tpm: Fix possible buffer overflow in PKDECRYPT
Branches
Unknown
Tags
Unknown
Tasks
T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`