Revision: 14804
Author: adrian.chadd
Date: Mon Sep 13 08:58:44 2010
Log: Fix bad initialisation of the membuf.

Submitted by: Robert Pipca <[email protected]>


http://code.google.com/p/lusca-cache/source/detail?r=14804

Modified:
 /branches/LUSCA_HEAD/src/external_acl.c

=======================================
--- /branches/LUSCA_HEAD/src/external_acl.c     Mon Oct 26 23:58:33 2009
+++ /branches/LUSCA_HEAD/src/external_acl.c     Mon Sep 13 08:58:44 2010
@@ -741,6 +741,7 @@
                    stringAppend(&sb, quoted, strlen(quoted));
                } else {
                    static MemBuf mb2 = MemBufNULL;
+                   memBufReset(&mb2);
                    strwordquote(&mb2, arg->key);
                    stringAppend(&sb, mb2.buf, mb2.size);
                    memBufClean(&mb2);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to