mirror of
https://github.com/reactos/reactos.git
synced 2025-06-18 21:45:21 +00:00
[RTL/x64] Remove an ASSERT in RtlpTryToUnwindEpilog
This can fail on optimized builds, where functions can end after a noreturn function call without an epilog / ret, but with an int 3. We simply fail gracefully, which is the right thing to do.
This commit is contained in:
parent
8841e3d7ba
commit
b6987d1463
1 changed files with 0 additions and 1 deletions
|
@ -413,7 +413,6 @@ RtlpTryToUnwindEpilog(
|
||||||
/* Make sure this is really a ret instruction */
|
/* Make sure this is really a ret instruction */
|
||||||
if (*InstrPtr != 0xc3)
|
if (*InstrPtr != 0xc3)
|
||||||
{
|
{
|
||||||
ASSERT(FALSE);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue