commit | aa7f9966dfdff500bbbf1956d9e115b1fa8987a6 | [log] [tgz] |
---|---|---|
author | Prasad J Pandit <pjp@fedoraproject.org> | Thu Dec 31 17:05:27 2015 +0530 |
committer | Jason Wang <jasowang@redhat.com> | Mon Jan 11 11:01:35 2016 +0800 |
tree | 8b4ba3789295b6019048759ca7427ab5c8083479 | |
parent | 007cd223de527b5f41278f2d886c1a4beb3e67aa [diff] |
net: ne2000: fix bounds check in ioport operations While doing ioport r/w operations, ne2000 device emulation suffers from OOB r/w errors. Update respective array bounds check to avoid OOB access. Reported-by: Ling Liu <liuling-it@360.cn> Cc: qemu-stable@nongnu.org Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Jason Wang <jasowang@redhat.com>