Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.13
-
None
-
Java 7 (java-1.7.0-openjdk-1.7.0.45.x86_64)
CentOS 6.3
Description
Configuring a SyslogAppender with a bad hostname or IP address will result in the appender's SyslogOutputStream (sos) being null. If this appender's stop() method is called (which could be triggered from a reset() call in the context) an NPE is thrown because the stop method in SyslogAppenderBase does not check whether sos is null before attempting to call its close() method.