Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
Desktop -> My computer -> right click -> Properties
Select the Computer name tab. ReactOS crushed.
I found the crush place: File: dll\win32\rpcrt4\ndr_marshall.c: Line nearly 6790.
Cause:
else
|
{
|
NDR_SCONTEXT ctxt = NDRSContextFromValue(pMemory);
|
+ if ( NULL== pStubMsg->StubDesc->apfnNdrRundownRoutines ){
|
+ ERR("Now will crush because of pStubMsg->StubDesc->apfnNdrRundownRoutines is null\n");
|
+ }
|
NDR_RUNDOWN rundown = pStubMsg->StubDesc->apfnNdrRundownRoutines[pFormat[2]]; //!! bug is here!
|
NdrServerContextNewMarshall(pStubMsg, ctxt, rundown, pFormat);
|
}
|
("+" marked lines are mine)
pStubMsg->StubDesc->apfnNdrRundownRoutines is null and dereferenced.
Would somebody correct this? returning just before crush from function doesn't help, it equally crushed