• rsyslog-8.2412.0-1.el10
    • Yes
    • Critical
    • Regression
    • 1
    • rhel-sst-security-special-projects
    • ssg_security
    • 21
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • SECENGSP Cycle 13
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?

      Rsyslog crashed when `$ControlCharacterEscapePrefix` is set.

      Please provide the package NVR for which bug is seen:

      rsyslog-8.2310.0-4.el9.x86_64
      and
      upstream

      How reproducible:

      100%

      Steps to reproduce

      1. Fresh install RHEL9
      2. Update the rsyslog to rsyslog-8.2310.0-4.el9.x86_64
      3. Set the following directives to /etc/rsyslog.conf
      $ControlCharacterEscapePrefix #
      

      Expected results

      Rsyslog should not crash.

      Actual results

      Crashed.

            [RHEL-35823] Rsyslog run into segfault when ControlCharacterEscapePrefix is set.

            Build landed in the latest RHEL10 compose, issue is fixed

            Adam Prikryl added a comment - Build landed in the latest RHEL10 compose, issue is fixed

            Hello,

            I reviewed the upstream PR, and it looks good to me. I expect it to be part of the next upstream release.

            In the meantime, as a workaround feel free to use the new syntax, which is the following:

            • global ( parser.controlcharacterescapeprefix = "#" )

            If the legacy syntax is used in the entire rsyslog configuration, then I can help with rewriting it to support the new Rainerscript syntax.

            Attila Lakatos added a comment - Hello, I reviewed the upstream PR, and it looks good to me. I expect it to be part of the next upstream release. In the meantime, as a workaround feel free to use the new syntax, which is the following: global ( parser.controlcharacterescapeprefix = "#" ) If the legacy syntax is used in the entire rsyslog configuration, then I can help with rewriting it to support the new Rainerscript syntax.

            Qi Guo added a comment -

            Hi rh-ee-alakatos, Updated the PR a little, kindly review it again. Thank you.

            Best regards,
            Flos

            Qi Guo added a comment - Hi rh-ee-alakatos , Updated the PR a little, kindly review it again. Thank you. Best regards, Flos

              rh-ee-alakatos Attila Lakatos
              rhn-support-qguo Qi Guo
              Attila Lakatos Attila Lakatos
              Adam Prikryl Adam Prikryl
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: