diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-01-12 21:00:01 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-01-12 21:00:01 +0000 |
commit | c46a3ea025b147d58e4c7a222307ccba1e9e376f (patch) | |
tree | 5914a3450dcc1079efb0c802d62d71f6025be862 /mips-dis.c | |
parent | f0ff243a16362b82e4dae7bd991d13ba25bb5b2f (diff) |
lan9118: fix a buffer overflow
Fix a buffer overflow, reported by cppcheck:
[/src/qemu/hw/lan9118.c:849]: (error) Buffer access out-of-bounds: s.eeprom
All eeprom handling code assumes that the size of eeprom is 128,
except lan9118_eeprom_cmd. Fix this by restricting the address passed.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'mips-dis.c')
0 files changed, 0 insertions, 0 deletions