[PATCH 4/4] quartz: Prevent heap corruption if IPropertyBag_Read fails.

Alexander Dorofeyev alexd4 at inbox.lv
Tue Jun 24 08:45:19 CDT 2008


If IPropertyBag_Read failed for some reason and didn't set variant's array, 
VariantClear that follows it was causing heap corruption. This situation 
wouldn't occur unless there's some buggy filter in the registry that doesn't 
have FilterData value (I accidentally created such situation when experimenting 
with filter registry keys), but I think it's better to avoid the heap corruption 
in such case nonetheless.

Depends on patch 3/4 to work.
---
  dlls/quartz/filtermapper.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f4c8eeb7363b1f53a1017f768198cdb8cf961480.diff
Type: text/x-patch
Size: 488 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080624/075255f0/attachment.bin 


More information about the wine-patches mailing list