ole32: Ensure that a returned free block is valid in storage.
Robert Shearman
rob at codeweavers.com
Thu Aug 3 14:25:14 CDT 2006
Otherwise, an IStream_SetSize call followed by an IStream_Read call
could fail with STG_E_DOCFILECORRUPT.
---
dlls/ole32/stg_bigblockfile.c | 28 ++++++++++++++++++++++++----
dlls/ole32/storage32.c | 5 +++++
dlls/ole32/storage32.h | 1 +
3 files changed, 30 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 69976777b793ca4a80c1f6334be044957662e25a.diff
Type: text/x-patch
Size: 2530 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060803/352bafc4/69976777b793ca4a80c1f6334be044957662e25a.bin
More information about the wine-patches
mailing list