Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-191

Application cores when syslog appender is given an unreachable host/ip.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Configurator
    • Labels:
      None

      Description

      When a syslog appender is set up with a host/ip that is unreachable, the application cores.

      The fault appears to lie in inetaddress.cpp, line #84, which does a strlen() call on a variable that is assumed to be set. The return code of the prior call to apr_getnameinfo() is not checked for success.

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              miielz Myles Bunbury
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: