Thanks again for the patch, I have now integrated it into all relevant versions.

Rainer

On 08/02/2010 01:19 PM, Kiss Gabor (Bitman) wrote:

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);




Reply via email to