rpcrt4: Fix buffer size calculation for arrays with embedded pointers

Huw Davies huw at codeweavers.com
Fri Sep 19 07:40:56 CDT 2014

On Fri, Sep 19, 2014 at 12:55:25PM +0100, Huw Davies wrote:
> On Thu, Sep 18, 2014 at 02:29:07PM +0200, Eric Kohl wrote:
> > I finally found the bug in the function EmbeddedPointerBufferSize where
> > the pointer to the current array element was not incremented while the
> > surrounding for loop traversed the array. The pointer was always
> > pointing at the first element of the array. I also found the same bug in
> > the function EmbeddedPointerMarshall.
> Perhaps also EmbeddedPointerFree?  We probably need some tests.

Doh, it looks like Alexandre already caught this.


More information about the wine-devel mailing list