mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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:
parent
361a0a9bb7
commit
f95308afa8
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ BOOL IniParseFile(PUCHAR IniFileData, U32 IniFileSize)
|
||||||
|
|
||||||
DbgPrint((DPRINT_INIFILE, "IniParseFile() IniFileSize: %d\n", IniFileSize));
|
DbgPrint((DPRINT_INIFILE, "IniParseFile() IniFileSize: %d\n", IniFileSize));
|
||||||
|
|
||||||
|
IniFileSectionListHead = NULL;
|
||||||
|
IniFileSectionCount = 0;
|
||||||
|
IniFileSettingCount = 0;
|
||||||
|
|
||||||
// Start with an 80-byte buffer
|
// Start with an 80-byte buffer
|
||||||
IniFileLineSize = 80;
|
IniFileLineSize = 80;
|
||||||
IniFileLine = MmAllocateMemory(IniFileLineSize);
|
IniFileLine = MmAllocateMemory(IniFileLineSize);
|
||||||
|
|
Loading…
Reference in a new issue