[ https://issues.apache.org/jira/browse/LOGCXX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Southwell resolved LOGCXX-415. ------------------------------------- Resolution: Fixed Fix Version/s: 0.10.1 Assignee: Joseph Southwell fixed this while working on LOG4CXX-416 > Empty xml configure file causes crash > ------------------------------------- > > Key: LOGCXX-415 > URL: https://issues.apache.org/jira/browse/LOGCXX-415 > Project: Log4cxx > Issue Type: Bug > Components: Configurator > Affects Versions: 0.10.0 > Reporter: Jin Qing > Assignee: Joseph Southwell > Fix For: 0.10.1 > > Original Estimate: 4m > Remaining Estimate: 4m > > If the xml configure file is empty, configure() will crash. > Test code: > #include <log4cxx/xml/domconfigurator.h> > int main() > { > log4cxx::xml::DOMConfigurator::configureAndWatch("test.xml", 5000); > return 0; > } > Create an empty test.xml in the working dir and run. > Crashed in apr_xml_parser_geterror (parser=0x0). -- This message was sent by Atlassian JIRA (v6.1.5#6160)