Corey Minyard 629457a130 i2c: Add a length check to the SMBus write handling
Avoid an overflow.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: QEMU Stable <qemu-stable@nongnu.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-12-03 13:00:38 +00:00
..
2018-11-27 12:59:00 +01:00
2018-11-27 15:35:15 +01:00
2018-11-27 15:35:15 +01:00
2018-11-12 11:26:02 +00:00
2018-11-27 15:35:15 +01:00
2018-11-27 15:35:15 +01:00
2018-11-08 14:42:37 +00:00
2018-11-27 15:35:15 +01:00
2018-11-27 15:35:15 +01:00
2018-11-27 15:35:15 +01:00
2018-11-05 09:55:01 +01:00
2018-11-27 15:35:15 +01:00