On Mon, Mar 11, 2024 at 06:09:58PM -0700, Daniel Verkamp wrote:
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
Thanks, I committed this change.
Sorry, I forgot to include Reviewed-by: Philippe Mathieu-Daudé philmd@linaro.org from the previous version.
Ah - I missed this as well. Sorry about that.
-Kevin