mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
For some strange reason IniFileSectionListHead is not initialized correctly.
Intialize it maually in order to prevent access violations. svn path=/trunk/; revision=9584
This commit is contained in:
@@ -41,6 +41,10 @@ BOOL IniParseFile(PUCHAR IniFileData, U32 IniFileSize)
|
||||
|
||||
DbgPrint((DPRINT_INIFILE, "IniParseFile() IniFileSize: %d\n", IniFileSize));
|
||||
|
||||
IniFileSectionListHead = NULL;
|
||||
IniFileSectionCount = 0;
|
||||
IniFileSettingCount = 0;
|
||||
|
||||
// Start with an 80-byte buffer
|
||||
IniFileLineSize = 80;
|
||||
IniFileLine = MmAllocateMemory(IniFileLineSize);
|
||||
|
||||
Reference in New Issue
Block a user