+-- On Mon, 4 Jan 2016, Jason Wang wrote --+
| > +if (addr < 32
| > +|| (addr >= NE2000_PMEM_START
| > +&& addr + sizeof(uint32_t) - 1 < NE2000_MEM_SIZE)) {
| > return ldl_le_p(s->mem + addr);
| > } else {
| > return 0x;
|
| Applied to my -net
On 12/31/2015 07:35 PM, P J P wrote:
> From: Prasad J Pandit
>
> 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
> Signed-off-by: Prasad J Pandit
> ---
> hw/net/ne20
From: Prasad J Pandit
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
Signed-off-by: Prasad J Pandit
---
hw/net/ne2000.c | 10 ++
1 file changed, 6 insertions(+), 4