projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SUBST: context rework: some more places for memset 0 found...
[citadel.git]
/
webcit
/
subst.c
diff --git
a/webcit/subst.c
b/webcit/subst.c
index c3b094874778772db7758442a2e70036e6c8cf2b..130b1a12ac61bd7e2811d485d7775c11527f4803 100644
(file)
--- a/
webcit/subst.c
+++ b/
webcit/subst.c
@@
-1804,6
+1804,8
@@
const StrBuf *ProcessTemplate(WCTemplate *Tmpl, StrBuf *Target, WCTemplputParams
WCTemplputParams TP;
WCTemplputParams *TPtr = &TP;
+ memset(TPtr, 0, sizeof(WCTemplputParams));
+
memcpy(&TP.Filter, &CallingTP->Filter, sizeof(ContextFilter));
TP.Context = CallingTP->Context;