diff options
author | Werner Koch <[email protected]> | 2017-12-20 14:37:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-12-20 14:37:29 +0000 |
commit | 290348e349e8d56a856f187a08e913f2ed525b3c (patch) | |
tree | 989271ea9df5f2437e1a1c18d93ddd873894201f /kbx/keybox-util.c | |
parent | Post release updates (diff) | |
download | gnupg-290348e349e8d56a856f187a08e913f2ed525b3c.tar.gz gnupg-290348e349e8d56a856f187a08e913f2ed525b3c.zip |
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.
Fixes-commit: 17efcd2a2acdc3b7f00711272aa51e5be2476921
Reported-by: Rainer Perske.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'kbx/keybox-util.c')
0 files changed, 0 insertions, 0 deletions