From: Prasad J Pandit <p...@fedoraproject.org>

Hello,

An OOB r/w issue in ne2000 device emulation was reported by Mr Ling Liu, CC'd
here. The issue occurs while doing ne2000 ioport r/w operations, due to
incorrect array bounds checks.

Below is a proposed (tested)patch to fix this issue. Does it look okay?

Thank you.
--
Prasad J Pandit (1):
  net: ne2000: fix bounds check in ioport operations

 hw/net/ne2000.c | 34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)

--
2.4.3


Reply via email to