Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: bd8667a7fd9ff48b90ba7cca82eaf489500708f9
      
https://github.com/tianocore/edk2/commit/bd8667a7fd9ff48b90ba7cca82eaf489500708f9
  Author: Khalid Ali <[email protected]>
  Date:   2026-02-27 (Fri, 27 Feb 2026)

  Changed paths:
    M MdeModulePkg/Core/PiSmmCore/Smi.c

  Log Message:
  -----------
  MdeModulePkg/Core: Move SMI depth tracker below SMI presence check

Fixes: #11764

Currently, mSmiManageCallingDepth is incremented always whether SMI
handler is present or not. However get decremented only when SMI handler
is found. This causes mSmiManageCallingDepth to grow infinitely as long
as SMI handler isn't present.

Increment mSmiManageCallingDepth only when SMI handler presence is
confirmed.

Signed-off-by: Khalid Ali <[email protected]>


  Commit: 05cec0b14beff2113ceedba7983e1ce82ff60a9c
      
https://github.com/tianocore/edk2/commit/05cec0b14beff2113ceedba7983e1ce82ff60a9c
  Author: Khalid Ali <[email protected]>
  Date:   2026-02-27 (Fri, 27 Feb 2026)

  Changed paths:
    M StandaloneMmPkg/Core/Mmi.c

  Log Message:
  -----------
  StandaloneMmPkg/Core: Move MMI depth tracker below MMI check

Fixes: #11764

Currently, mMmiManageCallingDepth is incremented always whether MMI
handler is present or not. However get decremented only when MMI handler
is found. This causes mMmiManageCallingDepth to grow infinitely as long
as MMI handler isn't present.

Increment mMmiManageCallingDepth only when MMI handler presence is
confirmed.

Signed-off-by: Khalid Ali <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/e9119475e1fd...05cec0b14bef

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to