On 04/09/14 13:14, Kevin Wolf wrote:
> The old check was off by a factor of 512 and didn't consider cases where
> we don't get an exact division. This could lead to an out-of-bounds
> array access in seek_to_sector().
>
> Signed-off-by: Kevin Wolf
> ---
> block/bochs.c | 14
The old check was off by a factor of 512 and didn't consider cases where
we don't get an exact division. This could lead to an out-of-bounds
array access in seek_to_sector().
Signed-off-by: Kevin Wolf
---
block/bochs.c | 14 +++---
tests/qemu-iotests/078 | 6 +-
tes