diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-06-17 17:32:16 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-06-17 18:28:29 +0000 |
commit | 8f22a331b955bd3f8077c7fa83bafeec566d6718 (patch) | |
tree | 485da8aba670cf31afa12c466eaadf2fd151c2c4 /MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf | |
parent | 2d233af64b8f73d1b1e138b302e6344f7c2e0f4e (diff) | |
download | edk2-8f22a331b955bd3f8077c7fa83bafeec566d6718.tar.gz edk2-8f22a331b955bd3f8077c7fa83bafeec566d6718.tar.bz2 edk2-8f22a331b955bd3f8077c7fa83bafeec566d6718.zip |
EmbeddedPkg/NonCoherentDmaLib: avoid dereferencing bogus buffer address
The bounce buffering code in NonCoherentDmaLib copies data into the
bounce buffer using CopyMem(), but passes Map->HostAddress as the
source of the copy before it has been assigned its correct value.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Andrei Warkentin <awarkentin@vmware.com>
Diffstat (limited to 'MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf')
0 files changed, 0 insertions, 0 deletions