From e43525ee3c3355a4a706b7197b0d2f5f56ef3fba Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Sun, 26 Jul 2015 08:03:50 +0000 Subject: MdeModulePkg VariableDxe: Correct address pointers from AuthVariableLib Originally, the double pointer (VOID **) is not correct for convert address pointers from AuthVariableLib. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao Tested-by: Laszlo Ersek Signed-off-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18054 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/Variable') diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c index a95846a934..314ffddef1 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c @@ -259,7 +259,7 @@ VariableClassAddressChangeEvent ( if (mContextOut.AddressPointer != NULL) { for (Index = 0; Index < mContextOut.AddressPointerCount; Index++) { - EfiConvertPointer (0x0, (VOID **) &mContextOut.AddressPointer[Index]); + EfiConvertPointer (0x0, (VOID **) mContextOut.AddressPointer[Index]); } } } -- cgit v1.2.3