If you try to load an INI file with keys defined with no section the a
NullReferenceException error is hit on load
e.g. Ini as:
--------------------
KeyOutSideSection=1
AnotherOutside=2
[Section]
OkKeyInSection=Test
--------------------
I think such keys are OK to WIN API calls - as it stands it means a
misconfigured INI file can blow up the whole load - I think keys should
either be added to section "" or at least just ignored
Nobody/Anonymous ( nobody ) - 2007-07-12 22:08
5
Open
None
Nobody/Anonymous
INI
v1.1.0
Public
|
Date: 2008-12-12 01:57 I've submitted a patch that should fix this issue. |