diff options
| author | Kevin Wolf | 2014-04-09 12:10:34 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2014-04-11 13:59:49 +0200 |
| commit | 715c3f60efa9801a777a71cd06eaf8efa7eaa2a8 (patch) | |
| tree | 49c048c88723c0ad327faf47feb15c14c85a85b2 /memory_mapping.c | |
| parent | bochs: Fix memory leak in bochs_open() error path (diff) | |
| download | qemu-715c3f60efa9801a777a71cd06eaf8efa7eaa2a8.tar.gz qemu-715c3f60efa9801a777a71cd06eaf8efa7eaa2a8.tar.xz qemu-715c3f60efa9801a777a71cd06eaf8efa7eaa2a8.zip | |
bochs: Fix catalog size check
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 <kwolf@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions
