Commit 2d4b48a5 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Handle try blocks inside current catch block in nested frame handler.

parent 941e4f7e
......@@ -461,6 +461,9 @@ static inline void call_catch_block( PEXCEPTION_RECORD rec, cxx_exception_frame
{
const tryblock_info *tryblock = &descr->tryblock[i];
/* only handle try blocks inside current catch block */
if (catch_frame && nested_trylevel > tryblock->start_level) continue;
if (trylevel < tryblock->start_level) continue;
if (trylevel > tryblock->end_level) continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment