Log4cxx
  1. Log4cxx
  2. LOGCXX-191

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Myles Bunbury
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development