Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 8f28978843f14deaa1b1060fbfd4983f82207506
      
https://github.com/tianocore/edk2/commit/8f28978843f14deaa1b1060fbfd4983f82207506
  Author: Khalid Ali <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M MdeModulePkg/Core/Dxe/Hand/Handle.c

  Log Message:
  -----------
  MdeModulePkg/Core: Increment handle key outside if block

Fixes: #11113

Currently, the global handle key and key inside handle structure is
incremented only when a new handle is allocated for protocol interface
to be installed.

However, when caller already supplies a handle gHandleDatabaseKey never
get incremented.

Move handle key incremental outside if block, just below the else
statement which allows gHandleDatabaseKey to always incremented whether
handle is supplied or not.

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


  Commit: 2691afa26994e62d05d356bbaa99343125cbea46
      
https://github.com/tianocore/edk2/commit/2691afa26994e62d05d356bbaa99343125cbea46
  Author: Khalid Ali <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M 
UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTestUefiBootServicesTableLibProtocol.c

  Log Message:
  -----------
  UnitTestFrameworkPkg: Increment handle key outside if block

Fixes: #11113

Currently, the global handle key and key inside handle structure is
incremented only when a new handle is allocated for protocol interface
to be installed.

However, when caller already supplies a handle gHandleDatabaseKey never
get incremented.

Move handle key incremental outside if block, just below the else
statement which allows gHandleDatabaseKey to always incremented whether
handle is supplied or not.

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


Compare: https://github.com/tianocore/edk2/compare/1f5c9f2a5cb1...2691afa26994

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