ntdll: Take size of the arena from the current pointer before advancing.

Vitaliy Margolen wine-patches at kievinfo.com
Wed Apr 11 08:08:25 CDT 2007


It seems that RtlWalkHeap should use only lpData member without relying
on the cbData member to be set correctly. The application in question
clears out the whole struct then sets lpData only.

Fixes bug 7859.
---
 dlls/ntdll/heap.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2e5eec1f900a80e7da77363c6b086cefd6116bb6.diff
Type: text/x-patch
Size: 1016 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070411/14aa2405/2e5eec1f900a80e7da77363c6b086cefd6116bb6.bin


More information about the wine-patches mailing list