summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorShannon Zhao2015-03-13 06:21:59 +0100
committerStefan Hajnoczi2015-03-27 11:23:50 +0100
commit4e60a250d395ef0d04eb8b6489cc5f7615a8909b (patch)
treea8ae67eb8e0da84a1b1d58019991f7273a4fc7c0 /scripts
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20150326-1' into s... (diff)
downloadqemu-4e60a250d395ef0d04eb8b6489cc5f7615a8909b.tar.gz
qemu-4e60a250d395ef0d04eb8b6489cc5f7615a8909b.tar.xz
qemu-4e60a250d395ef0d04eb8b6489cc5f7615a8909b.zip
hw/net/e1000: fix integer endianness
It's detected by coverity.In is_vlan_packet s->mac_reg[VET] is unsigned int but is dereferenced as a narrower unsigned short. This may lead to unexpected results depending on machine endianness. Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Message-id: 1426224119-8352-1-git-send-email-zhaoshenglong@huawei.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions