Fix crash if SIXEL colour register is invalid and remove SIXEL images before

reflow to avoid a different crash, from Anindya Mukherjee.
This commit is contained in:
Nicholas Marriott
2024-03-21 11:37:09 +00:00
parent bf5d3f2e26
commit aa17f0e0c1
4 changed files with 11 additions and 4 deletions

View File

@ -1839,7 +1839,7 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
/* Handle CSI graphics SM. */
static void
input_csi_dispatch_sm_graphics(struct input_ctx *ictx)
input_csi_dispatch_sm_graphics(__unused struct input_ctx *ictx)
{
#ifdef ENABLE_SIXEL
int n, m, o;