March 12, 2024
1:09 a.m.
On Mon, Mar 11, 2024 at 5:57 PM Daniel Verkamp <daniel@drv.nu> wrote:
When calculating the size of the buffer required for the VGA/VBE state, round up rather than truncating when dividing the number of bytes to get the number of 64-byte blocks. Without this modification, the save state function will write past the end of a buffer of the size requested.
Signed-off-by: Daniel Verkamp <daniel@drv.nu>
Sorry, I forgot to include Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> from the previous version.