Diffusion GnuPG d8bce478be3a

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

Authored by werner on Jul 1 2016, 3:18 PM.

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

Committed
wernerJul 1 2016, 4:27 PM
Parents
rG681c6ef757a7: common: Add function to select records etc.
Branches
Unknown
Tags
Unknown
Werner Koch <wk@gnupg.org> committed rGd8bce478be3a: gpg: Make sure a user ID packet has always a terminating Nul in memory. (authored by Werner Koch <wk@gnupg.org>).Jul 1 2016, 4:27 PM