Home GnuPG
Diffusion GnuPG d8bce478be3a

gpg: Make sure a user ID packet has always a terminating Nul in memory.
d8bce478be3aUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Make sure a user ID packet has always a terminating Nul in memory.

* g10/keygen.c (write_uid): Avoid overflow.

Also the actual length if the user ID is given by LEN, using NAME
diretcly is often more convenient.

Details

Provenance
wernerAuthored on Jul 1 2016, 3:18 PM
Parents
rG681c6ef757a7: common: Add function to select records etc.
Branches
Unknown
Tags
Unknown

Event Timeline