[ros-diffs] [gvg] 20460: - Detect end of chain

gvg at svn.reactos.org gvg at svn.reactos.org
Fri Dec 30 19:36:10 CET 2005


- Detect end of chain
- Correct copy/paste error
Fixes bug 1212
Modified: trunk/reactos/lib/crt/except/seh.s
  _____  

Modified: trunk/reactos/lib/crt/except/seh.s
--- trunk/reactos/lib/crt/except/seh.s	2005-12-30 18:19:24 UTC (rev
20459)
+++ trunk/reactos/lib/crt/except/seh.s	2005-12-30 18:35:49 UTC (rev
20460)
@@ -99,8 +99,10 @@

 
     // If we have reached the end of the chain or we're asked to stop
here
     // by the caller then exit
+    test     %ebx, %ebx
+    je       .lu2_done
+
     movl     ER_TRYLEVEL(%ebx), %eax
-
     cmpl     $-1, %eax
     je       .lu2_done
 
@@ -288,7 +290,6 @@
     // Perform local unwinding
 .eh3_unwind:
 
-    movl     $ExceptionContinueSearch, %eax
     testl    $EXCEPTION_TARGET_UNWIND, EREC_FLAGS(%eax)
     jnz      .eh3_return
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051230/173d09be/attachment.html


More information about the Ros-diffs mailing list