1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 290348e349
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 <wk@gnupg.org>
2017-12-20 15:37:29 +01:00
..
2017-02-21 13:11:46 -05:00
2017-04-28 10:06:33 +09:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2017-03-30 16:13:43 +02:00
2017-07-20 16:37:56 +09:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-01-05 20:43:40 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.