diff options
| author | Oliver Smith-Denny <osde@microsoft.com> | 2025-07-22 10:09:23 -0700 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-07-23 12:57:55 +0000 |
| commit | 05c966e8f1139b30724de65a881769e654fa3a9e (patch) | |
| tree | 4ed0b3e141d7b37204aa19d6cff3a16193b9a521 /StandaloneMmPkg | |
| parent | c3479204cc067cceee43410a596ff434f4e9bf41 (diff) | |
| download | edk2-05c966e8f1139b30724de65a881769e654fa3a9e.tar.gz edk2-05c966e8f1139b30724de65a881769e654fa3a9e.zip | |
StandaloneMmPkg: Unify EfiFileName Parsing
The various cores all attempt to print the EfiFileName when
loading/dispatching drivers, but they are not unified on
approach. This commit ensures they are using the same buffer
size and the loop parsing variables are unsigned, as we should
not have a negative index.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'StandaloneMmPkg')
| -rw-r--r-- | StandaloneMmPkg/Core/Dispatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispatcher.c index 4bb74d3474..086532e847 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -145,7 +145,7 @@ MmLoadImage ( EFI_PHYSICAL_ADDRESS DstBuffer;
UINTN Index;
UINTN StartIndex;
- CHAR8 EfiFileName[256];
+ CHAR8 EfiFileName[512];
DEBUG ((DEBUG_INFO, "MmLoadImage - %g\n", &DriverEntry->FileName));
|
