[OLE #48] Restructure Unmarshaling Code (Try 2)
Robert Shearman
rob at codeweavers.com
Fri Jan 21 15:04:11 CST 2005
Hi,
The previous attempt was buggy in two places. The first was that there
was a logic error (should have been testing the absense of the flag
instead of the presense), which meant that the small piece of new code
was triggered by accident. This new code also had a problem in that we
do *really* need to manage our lifecycle and that things really screw up
if we don't (i.e. we access a freed proxy buffer). So this new patch
stores the STDOBJREF flags in the proxy manager. The flag isn't actually
used yet, but it will be used to avoid calling any IRemUnknown
interfaces. This time the I have tested the patch with the test suite
and it passes.
Rob
Changelog:
- Add a new flag SORFP_NOLIFETIMEMGMT to tell the proxy manager not to call any IRemUnknown functions.
- Move the low-level unmarshaling code into a new function, unmarshal_object, so that it can be easily reused for unmarshaling IRemUnknown.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole48a.diff
Type: text/x-patch
Size: 8536 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050121/4c27d7e9/ole48a.bin
More information about the wine-patches
mailing list