diff options
| author | Jeremy Linton <jeremy.linton@arm.com> | 2021-08-13 08:05:08 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-17 17:01:19 +0300 |
| commit | ef56f55d19e1b0b4ba6f9b28d73165c7f0a4627c (patch) | |
| tree | 15a4d69210d9086bb187f4a0628b1dc59a5db69e /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
| parent | 6fdd1c13a734609aff68d37e606e995d673d9aeb (diff) | |
| download | edk2-ef56f55d19e1b0b4ba6f9b28d73165c7f0a4627c.tar.xz | |
EmbeddedPkg/NonCoherentDmaLib: Avoid dereferencing unset Map field
Map->Operation is used to select whether a DMA region that
is being bounced has the source buffer copied to it. Except
Map->Operation isn't yet set, so the behavior is somewhat
random. Instead use the passed in Operation parameter.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions
