• Robert Shearman's avatar
    rpcrt4: Improve ReadVariance. · 1926b6da
    Robert Shearman authored
    Extend ReadVariance to read the offset as well as the actual count,
    since these always come in pairs.
    Handle the variance not being present in ReadVariance and always call
    it from the unmarshalling functions to simplify the code there and
    also to fix a bug where the format pointer wasn't advanced properly
    for complex arrays (introduced in the previous patch when implementing
    variance).
    1926b6da
ndr_marshall.c 101 KB