From 6a2b9907026b5b595983b724211df740ce5b542e Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 12 Sep 2010 11:41:43 +0200 Subject: [PATCH] * check for NULL pointers... Should we even come here? --- webcit/static.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webcit/static.c b/webcit/static.c index 1bac24a74..46770bf12 100644 --- a/webcit/static.c +++ b/webcit/static.c @@ -223,6 +223,8 @@ void output_flat_static(void) void *vFile; StrBuf *File; + if (WCC->Hdr->HR.Handler == NULL) + return; if (GetHash(StaticFilemappings[0], SKEY(WCC->Hdr->HR.Handler->Name), &vFile) && (vFile != NULL)) { -- 2.30.2