diff options
| author | Ray Ni <ray.ni@intel.com> | 2025-05-30 05:56:21 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-06-04 03:19:23 +0300 |
| commit | 24a80a59dbe02e4101303ff3acb3ae9fcd8ed7cb (patch) | |
| tree | 091430265b3978d2ee6873de47938e65342940fe /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics | |
| parent | d6d2f68e3801760646ac02117f2467382a310d61 (diff) | |
| download | edk2-24a80a59dbe02e4101303ff3acb3ae9fcd8ed7cb.tar.xz | |
StandaloneMmPkg/Core: Fix FV HOB loop by advancing with GET_NEXT_HOB
Previously, MmDispatchFvs could enter an infinite loop if a Firmware Volume
HOB with zero length was encountered, because GetNextHob() was called with
the same FvHob pointer repeatedly. This patch fixes the issue by passing
GET_NEXT_HOB(FvHob) to GetNextHob(), ensuring the loop advances to the next
HOB and preventing hangs.
Signed-off-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics')
0 files changed, 0 insertions, 0 deletions
