]> xenbits.xensource.com Git - qemu-upstream-4.6-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 13:58:51 +0000 (13:58 +0000)
commit47f168e2da96473ede608a17aa757c11bc90fc5f
tree5428faffb787be3d94e25a20d5e8f37c0fe152f6
parent3802d30855ccc81b9d55246f0c54a985c6e73990
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