Share

Nini

Tracker: Bugs

5 NullReferenceSection if keys outside section - ID: 1753003
Last Update: Comment added ( nobody )

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


Comment ( 1 )




Date: 2008-12-12 01:57
Sender: nobody

I've submitted a patch that should fix this issue.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.