summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2023-06-29 16:59:18 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-09-08 12:48:57 +0000
commitb74f1f7ab5e956f58ae1771dc4e2a4b92bc51430 (patch)
tree35866c1dc08d0024424dafff3e69915f832c5fe2 /FatPkg
parentff7ddc02b273f9159ef46fdb67d99062f8e598d9 (diff)
downloadedk2-b74f1f7ab5e956f58ae1771dc4e2a4b92bc51430.tar.gz
edk2-b74f1f7ab5e956f58ae1771dc4e2a4b92bc51430.tar.bz2
edk2-b74f1f7ab5e956f58ae1771dc4e2a4b92bc51430.zip
SecurityPkg: RngDxe: Fixing mAvailableAlgoArray allocator
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>
Diffstat (limited to 'FatPkg')
0 files changed, 0 insertions, 0 deletions