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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Configurator
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: