Out off array access in usb-net
commitd59f8ba938afd837182e666cce777dfb860559e4
authorGleb Natapov <gleb@redhat.com>
Tue, 9 Nov 2010 07:36:53 +0000 (9 09:36 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Nov 2010 20:35:00 +0000 (16 14:35 -0600)
tree7d31de4a9f7da1d44506fd6327503ad360c0707d
parent43ae691e775707b854f9920797c81b6b298bde61
Out off array access in usb-net

Properly check array bounds before accessing array element.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/usb-net.c