rpcrt4: Fix Variance Callback Functions.
A callback function for computing the variance puts the computed value into the same field as a conformance, so make sure to copy the value into pCount before returning from ComputeConformanceOrVariance.
This commit is contained in:
parent
a02034a609
commit
2cb3b22c26
|
@ -464,6 +464,9 @@ PFORMAT_STRING ComputeConformanceOrVariance(
|
|||
pStubMsg->StubDesc->apfnExprEval[ofs](pStubMsg);
|
||||
|
||||
pStubMsg->StackTop = old_stack_top;
|
||||
|
||||
/* the callback function always stores the computed value in MaxCount */
|
||||
*pCount = pStubMsg->MaxCount;
|
||||
goto finish_conf;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue