diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/LongJump.c')
-rw-r--r-- | MdePkg/Library/BaseLib/LongJump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/LongJump.c b/MdePkg/Library/BaseLib/LongJump.c index 302d4bd232..85f091e090 100644 --- a/MdePkg/Library/BaseLib/LongJump.c +++ b/MdePkg/Library/BaseLib/LongJump.c @@ -49,5 +49,7 @@ LongJump ( )
{
InternalAssertJumpBuffer (JumpBuffer);
+ ASSERT (Value != 0);
+
InternalLongJump (JumpBuffer, Value);
}
|