summaryrefslogtreecommitdiffstats
path: root/hw/i2c/omap_i2c.c
diff options
context:
space:
mode:
authorCorey Minyard2018-12-03 13:52:50 +0100
committerPeter Maydell2018-12-03 14:00:38 +0100
commit629457a13080052c575779e1fd9f5eb5ee6b8ad9 (patch)
tree2c5ce4c8317703bc421125e09b7acc7fe861b9bd /hw/i2c/omap_i2c.c
parentUpdate version for v3.1.0-rc3 release (diff)
downloadqemu-629457a13080052c575779e1fd9f5eb5ee6b8ad9.tar.gz
qemu-629457a13080052c575779e1fd9f5eb5ee6b8ad9.tar.xz
qemu-629457a13080052c575779e1fd9f5eb5ee6b8ad9.zip
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>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions