summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/data-array-empty.json
diff options
context:
space:
mode:
authorStefan Hajnoczi2015-07-15 18:17:28 +0200
committerStefan Hajnoczi2015-08-03 14:07:54 +0200
commitd6812d60e7932de3cd0f602c0ee63dd3d09f1847 (patch)
treec29a2f44a4ca336aad81ce47af2386fe92fbffc0 /tests/qapi-schema/data-array-empty.json
parentrtl8139: avoid nested ifs in IP header parsing (CVE-2015-5165) (diff)
downloadqemu-d6812d60e7932de3cd0f602c0ee63dd3d09f1847.tar.gz
qemu-d6812d60e7932de3cd0f602c0ee63dd3d09f1847.tar.xz
qemu-d6812d60e7932de3cd0f602c0ee63dd3d09f1847.zip
rtl8139: drop tautologous if (ip) {...} statement (CVE-2015-5165)
The previous patch stopped using the ip pointer as an indicator that the IP header is present. When we reach the if (ip) {...} statement we know ip is always non-NULL. Remove the if statement to reduce nesting. Reported-by: 朱东海(启路) <donghai.zdh@alibaba-inc.com> Reviewed-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.json')
0 files changed, 0 insertions, 0 deletions