[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] net: ne2000: fix bounds check in ioport operations
From: |
P J P |
Subject: |
[Qemu-devel] [PATCH] net: ne2000: fix bounds check in ioport operations |
Date: |
Wed, 30 Dec 2015 13:14:06 +0530 |
From: Prasad J Pandit <address@hidden>
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
- [Qemu-devel] [PATCH] net: ne2000: fix bounds check in ioport operations,
P J P <=