This patch fixes the bug.

Gabor

--- ../../rsyslog-orig/rsyslog-3.18.6/conf.c    2008-12-10 19:02:24.000000000 
+0100
+++ conf.c      2010-08-02 13:07:50.213850465 +0200
@@ -962,8 +962,7 @@
        if(**pline != '\0' && **pline == '*' && *(*pline+1) == '\0') {
                dbgprintf("resetting programname filter\n");
                if(pDfltProgNameCmp != NULL) {
-                       if((iRet = rsCStrSetSzStr(pDfltProgNameCmp, NULL)) != 
RS_RET_OK)
-                               return(iRet);
+                       rsCStrDestruct(&pDfltProgNameCmp);
                }
        } else {
                dbgprintf("setting programname filter to '%s'\n", *pline);



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to