[syslog-ng] [Bug 90] csv-parser's flags(drop-invalid) doesn' t work with escape-{backslash, double-char}

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Jul 9 10:58:11 CEST 2010


https://bugzilla.balabit.com/show_bug.cgi?id=90


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |FIXED
             Status|REOPENED                    |RESOLVED




--- Comment #5 from Balazs Scheidler <bazsi at balabit.hu>  2010-07-09 10:58:11 ---
I've taken your patch, adapted it to the latest drop-invalid+greedy patch that was already on mainline and commited it to OSE 3.0
I've also added ac couple of testcases


commit 6d1ce4e5bdb517941235f059b556fb6dc9d45363
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Fri Jul 9 10:25:31 2010 +0200

    csv-parser: fixed drop-invalid handling

    drop-invalid was not handled properly and caused valid messages
    to be dropped.

    The parser drops messages if:
      * not all columns are processed
      * there are leftover characters at the end of the parsing

    Greedy columns can be empty though.

    Testcases were extended to hopefully cover all cases now.

    Reported-By: andrewn at locus.net


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list