OLE: Check the return value of IStream_SetSize in IStream_Read
Robert Shearman
rob at codeweavers.com
Sun Jan 1 14:50:39 CST 2006
ChangeLog:
Check the return value of IStream_SetSize in IStream_Read, since
otherwise execution could continue on and cause heap corruption.
dlls/ole32/hglobalstream.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8ec91584a01e00b2cd24d12e16189b78d6590bbb.diff
Type: text/x-patch
Size: 569 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060101/cd7d67bb/8ec91584a01e00b2cd24d12e16189b78d6590bbb.diff
More information about the wine-patches
mailing list