]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
exec: fix a glitch in checking dma r/w access
authorPrasad J Pandit <pjp@fedoraproject.org>
Mon, 25 Jan 2016 14:29:50 +0000 (19:59 +0530)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 5 Feb 2016 14:55:01 +0000 (14:55 +0000)
commit9a5a7327425fb18a210728f397df4fbc577019c7
tree0873c6c4c230a55a4d7791c4605b598868973d32
parent2947784b8480d4c7ef0a42980bf75adc3138a248
exec: fix a glitch in checking dma r/w access

While checking r/w access in 'memory_access_is_direct' routine
a glitch in the expression leads to segmentation fault while
performing dma read operation.

Reported-by: Donghai Zdh <donghai.zdh@alibaba-inc.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
exec.c