]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: fix UninstallMultipleProtocolInterfaces() calls
authorLaszlo Ersek <lersek@redhat.com>
Fri, 6 Sep 2019 22:50:42 +0000 (00:50 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 9 Oct 2019 07:40:10 +0000 (09:40 +0200)
commita629d5b9ef039e8ca3541602b3129c5cb9ab8ee8
treef680df579544863e344c29e2663bcf4e40d0552f
parent35dd574a240017553b1b3dad6ec1cd94c2ab1a5e
SecurityPkg: fix UninstallMultipleProtocolInterfaces() calls

Unlike the InstallMultipleProtocolInterfaces() boot service, which takes
an (EFI_HANDLE*) as first parameter, the
UninstallMultipleProtocolInterfaces() boot service takes an EFI_HANDLE as
first parameter.

These are actual bugs. They must have remained hidden until now because
they are all in Unload() functions, which are probably exercised
infrequently. Fix the UninstallMultipleProtocolInterfaces() calls.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDriver.c