Home GnuPG
Diffusion GnuPG 290348e349e8

common: Use larger buffer for homedir in case of 64 bit UIDs.

Description

common: Use larger buffer for homedir in case of 64 bit UIDs.

* common/homedir.c (_gnupg_socketdir_internal): Enlarge PREFIX by 6
bytes for "/gnupg".

The temporary buffer was to short for the extra "/gnupg". However the
20 bytes for the UID is large enough for all 32 bit UIDs and would
only fail (detected) if a 64 bit UID is used.

Details

Provenance
wernerAuthored on Dec 20 2017, 3:37 PM
Parents
rG84555d53720c: Post release updates
Branches
Unknown
Tags
Unknown