rpcrt4: Fix argument check in MesEncodeFixedBufferHandleCreate()

Dmitry Timoshkov dmitry at baikal.ru
Tue Mar 3 06:38:52 CST 2015


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> +    if (((ULONG_PTR)Buffer % 8) != 0)
> +        return RPC_X_INVALID_BUFFER;

Shouldn't this be 'if ((ULONG_PTR)Buffer & 7)' instead?

-- 
Dmitry.



More information about the wine-devel mailing list