[PATCH 2/2] msvcrt: Register exception object before unwinding

Piotr Caban piotr at codeweavers.com
Mon Mar 21 13:16:06 CDT 2016


Thrown object was incorrectly freed in following situation:
try {
     try {
         throw obj;
     } catch(...) {
         throw;
     }
} catch(...) {
     //use object here
}

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcrt/except_i386.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-msvcrt-Register-exception-object-before-unwinding.txt
Type: text/x-patch
Size: 1259 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160321/0f065ba3/attachment.bin>


More information about the wine-patches mailing list