You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CommBufferSize is copied into a local variable. This is good, however, if the size is less than the header a
status of EFI_SUCCESS is returned. This seems like it should be returning something other than success as
there is clearly an error within the commbuffer length
code snippet below
TempCommBufferSize = *CommBufferSize;
PasswordLen = 0;
if (TempCommBufferSize < sizeof (SMM_PASSWORD_COMMUNICATE_HEADER)) {
DEBUG ((DEBUG_ERROR, "SmmPasswordHandler: SMM communication buffer size invalid!\n"));
return EFI_SUCCESS --> we dont have return success always -proper error handling is needed.
This issue was created automatically with bugzilla2github
Bugzilla Bug 4644
Date: 2024-01-17T01:47:16+00:00
From: tabassum.yasmin
To: unassigned <>
CC: @lgao4
Last updated: 2024-01-30T21:48:30+00:00
The text was updated successfully, but these errors were encountered: