From 4b9dcaa967180e0b103ea558c1d04945044637ea Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 30 Mar 2015 22:57:37 +0200 Subject: [PATCH] by Harry Coin: fix implementation - this buffer was missing. --- webcit/sysdep.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webcit/sysdep.c b/webcit/sysdep.c index 94314a25c..4b8f4c6a6 100644 --- a/webcit/sysdep.c +++ b/webcit/sysdep.c @@ -557,6 +557,9 @@ webcit_calc_dirs_n_files(int relh, const char *basedir, int home, char *webcitdi void drop_root(uid_t UID) { struct passwd pw, *pwp = NULL; +#ifdef HAVE_GETPWUID_R + char pwbuf[SIZ]; +#endif /* * Now that we've bound the sockets, change to the Citadel user id and its -- 2.30.2