mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
SecurityPkg/Tcg2Acpi: Revise debug print
This debug print may attempt to print a string without a null terminator that can lead to a machine check. The value printed is substituted with a source buffer to still allow debug. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
807ab61359
commit
d4dbe5e101
@ -641,7 +641,7 @@ UpdateHID (
|
||||
CopyMem (DataPtr, Hid, TPM_HID_ACPI_SIZE);
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "TPM2 ACPI _HID is patched to %a\n", DataPtr));
|
||||
DEBUG ((DEBUG_INFO, "TPM2 ACPI _HID is patched to %a\n", Hid));
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user