Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
-
None
-
None
-
Windows XP, Visual Studio 2008
Description
On an invalid logger name like e.g. '.logger1', log4cxx loops forever when trying to update parents in the logger hierarchy.
The reason might be that in that special case
i = name.find_last_of(0x2E /* '.' */, i-1)
returns 0, and in the next iteration find_last_of starts over again from string::npos.