mirror of https://github.com/acidanthera/audk.git
b74f1f7ab5
REF: https://bugzilla.tianocore.org/show_bug.cgi?idD91 mAvailableAlgoArray is currently allocated for "RNG_AVAILABLE_ALGO_MAX" number of bytes, whereas it was dereferenced as "EFI_RNG_ALGORITHM". This change fixed the buffer allocation logic by allocating a proper size of buffer before referencing. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Sami Mujawar <Sami.Mujawar@arm.com> Cc: Pierre Gondois <pierre.gondois@arm.com> Signed-off-by: Kun Qin <kuqin@microsoft.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> |
||
---|---|---|
.. | ||
AArch64 | ||
Arm | ||
Rand | ||
ArmRngDxe.c | ||
ArmTrng.c | ||
RngDxe.c | ||
RngDxe.inf | ||
RngDxe.uni | ||
RngDxeExtra.uni | ||
RngDxeInternals.h |