From fdbf860f0a44b7a5cf2786f25f976d706ae42928 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 10 Jan 2010 21:14:15 +0000 Subject: [PATCH] * hm, something is going wrong here. allocing bigger spaces here for filenames fixes it, fancily even valgrind doesn't show whats going wrong... --- webcit/subst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/subst.c b/webcit/subst.c index 36828a6cd..ca2a6975b 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -1626,7 +1626,7 @@ int LoadTemplateDir(const StrBuf *DirName, HashList *wireless, HashList *big, co Toplevel = StrLength(BaseKey) == 0; SubDirectory = NewStrBuf(); SubKey = NewStrBuf(); - FileName = NewStrBuf(); + FileName = NewStrBufPlain(NULL, PATH_MAX); Key = NewStrBuf(); while ((readdir_r(filedir, d, &filedir_entry) == 0) && (filedir_entry != NULL)) -- 2.30.2