Home GnuPG

cipher:pubkey: Fix non-use of flexible array member.
297c5a47837cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

cipher:pubkey: Fix non-use of flexible array member.

* cipher/pubkey.c (struct pk_single_data): Use 1 as the size.
(_gcry_pk_single_data_push): Use offsetof.

Backport master commit of:
c160e1a85f8295e388de7a0b09a351bc271f0d95

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 14 2023, 10:11 AM
Parents
rCb863ec507dae: cipher:ecc: Fix public key computation for EdDSA.
Branches
Unknown
Tags
Unknown

Event Timeline