Re: [Qemu-devel] [PATCH v2] vt82c686: fix coverity warning about out-of-bounds write

2014-12-09 Thread Paolo Bonzini
On 09/12/2014 08:15, zhanghailiang wrote: > Refactor superio_ioport_writeb to fix the out of bounds write warning. > > In addition, fix two typos: s/chage/change/ > > Signed-off-by: zhanghailiang > --- > - using bool instead of int for can_write as suggested by Stefan Weil > - fix two typos:

[Qemu-devel] [PATCH v2] vt82c686: fix coverity warning about out-of-bounds write

2014-12-08 Thread zhanghailiang
Refactor superio_ioport_writeb to fix the out of bounds write warning. In addition, fix two typos: s/chage/change/ Signed-off-by: zhanghailiang --- - using bool instead of int for can_write as suggested by Stefan Weil - fix two typos: s/chage/change --- hw/isa/vt82c686.c | 41