diff options
author | Prasad J Pandit | 2017-01-27 16:20:25 +0100 |
---|---|---|
committer | Peter Maydell | 2017-01-27 16:29:08 +0100 |
commit | 146871c33eb70ca7090a0a55e69e5a8f9b5eb102 (patch) | |
tree | 49cee75212273c64026621f51e499deaaf3dec15 /scripts/simpletrace.py | |
parent | arm_gicv3: Fix broken logic in ELRSR calculation (diff) | |
download | qemu-146871c33eb70ca7090a0a55e69e5a8f9b5eb102.tar.gz qemu-146871c33eb70ca7090a0a55e69e5a8f9b5eb102.tar.xz qemu-146871c33eb70ca7090a0a55e69e5a8f9b5eb102.zip |
dma: omap: check dma channel data_type
When setting dma channel 'data_type', if (value & 3) == 3,
the set 'data_type' is said to be bad. This also leads to an
OOB access in 'omap_dma_transfer_generic', while doing
cpu_physical_memory_r/w operations. Add check to avoid it.
Reported-by: Jiang Xin <jiangxin1@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20170127120528.30959-1-ppandit@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions