[Bug 4318] MdeModulePkg/Universal/Acpi/AcpiTableDxe: Coverity scan flags REVERSE_INULL issue


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=4318

--- Comment #1 from Veeresh Sangolli <veeresh.sangolli@...> ---
Created attachment 1309
--> https://bugzilla.tianocore.org/attachment.cgi?id=1309&action=edit
Proposed patch to resolve the Reverse_Inull issue pointed by Coverity for
MdeModulePkg

if (Table->Table != NULL) { - this check is present in the the function
DeleteTable, but after it has been already dereferenced.

Hence, add relevant NULL pointer checks at the beginning of the function.

By doing the changes mentioned above, Coverity doesn't report the issue.

--
You are receiving this mail because:
You are on the CC list for the bug.