From 9bcbdb9f14c05e9f20b1e3fcdabd26bc5dc1fb99 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 16 Nov 2025 22:35:57 +0530 Subject: [PATCH] ... --- kitty/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/graphics.c b/kitty/graphics.c index ad5679448..f985a7575 100644 --- a/kitty/graphics.c +++ b/kitty/graphics.c @@ -1574,7 +1574,7 @@ handle_animation_frame_load_command(GraphicsManager *self, GraphicsCommand *g, I const unsigned long bytes_per_pixel = load_data->is_opaque ? 3 : 4; if (load_data->data_sz < bytes_per_pixel * load_data->width * load_data->height) - ABRT("ENODATA", "Insufficient image data %zu < %zu", load_data->data_sz, bytes_per_pixel * g->data_width, g->data_height); + ABRT("ENODATA", "Insufficient image data %zu < %zu", load_data->data_sz, bytes_per_pixel * g->data_width * g->data_height); if (load_data->width > img->width) ABRT("EINVAL", "Frame width %u larger than image width: %u", load_data->width, img->width); if (load_data->height > img->height)