This makes the Battlefield 2 demo go a bit further, before crashing again, due to unimplemented call ntdll.dll.NtSetSystemInformation.
The mask parameter is not initialized by RtlDosPathNameToNtPathName_U (it returns TRUE in that first block), and then you get an invalid dereference later.
Ivan Gyurdiev wrote:
This makes the Battlefield 2 demo go a bit further, before crashing again, due to unimplemented call ntdll.dll.NtSetSystemInformation.
The mask parameter is not initialized by RtlDosPathNameToNtPathName_U (it returns TRUE in that first block), and then you get an invalid dereference later.
Never mind, I see this is being fixed differently by James Hawkins.
On 10/15/05, Ivan Gyurdiev ivg2@cornell.edu wrote:
Ivan Gyurdiev wrote:
This makes the Battlefield 2 demo go a bit further, before crashing again, due to unimplemented call ntdll.dll.NtSetSystemInformation.
The mask parameter is not initialized by RtlDosPathNameToNtPathName_U (it returns TRUE in that first block), and then you get an invalid dereference later.
Never mind, I see this is being fixed differently by James Hawkins.
When I was first looking through this bug, I tried setting mask to NULL as well, but that just hides the fact that RtlDosPathNameToNtPathName_U doesn't fill in the file_part parameter for long file names as it should. My approach was incorrect, but I'll go back and work something else out.
-- James Hawkins