Commit 2cb3b22c authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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.
parent a02034a6
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment