ole32: do not crash in WriteClassStg if passed NULL pointer

Andrey Turkin andrey.turkin at gmail.com
Wed Jan 14 13:31:06 CST 2009


Also there are some tests for ReadClassStg and WriteClassStg behavior
on error cases. Native WriteClassStg probably catch NULL pointer
dereference in SEH handler but I think simple check for NULL will do.
Fixes bug 14015
---
 dlls/ole32/storage32.c       |    3 ++
 dlls/ole32/tests/storage32.c |   51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: c60e608e73217887c4c0d24b5a26fcd278a6a313.diff
Type: text/x-patch
Size: 2710 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090114/29e4859d/attachment.bin 


More information about the wine-patches mailing list