[PATCH 02/11] gssd: Fix cccache buffer size

Doug Nazar
2020-07-18T09:24:57Z

utils/gssd/krb5_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index e5b81823..34c81daa 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -1225,7 +1225,7 @@ out:
int
gssd_setup_krb5_user_gss_ccache(uid_t uid, char *servername, char *dirpattern)
{
- char buf[PATH_MAX+2+256], dirname[PATH_MAX];
+ char buf[PATH_MAX+4+2+256], dirname[PATH_MAX];
const char *cctype;
struct dirent *d;
int err, i, j;
--
2.26.2