summaryrefslogtreecommitdiffstats
path: root/linux-user/host
diff options
context:
space:
mode:
authorLaurent Vivier2016-06-16 21:01:37 +0200
committerRiku Voipio2016-06-26 12:17:22 +0200
commitb9403979b5c51d42018f40bf568d07519edb992e (patch)
treea45a797874c860e539751840dbf64fce950d1238 /linux-user/host
parentlinux-user: fd_trans_host_to_target_data() must process only received data (diff)
downloadqemu-b9403979b5c51d42018f40bf568d07519edb992e.tar.gz
qemu-b9403979b5c51d42018f40bf568d07519edb992e.tar.xz
qemu-b9403979b5c51d42018f40bf568d07519edb992e.zip
linux-user: don't swap NLMSG_DATA() fields
If the structure pointed by NLMSG_DATA() is bigger than the size of NLMSG_DATA(), don't swap its fields to avoid memory corruption. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/host')
0 files changed, 0 insertions, 0 deletions