aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-24 15:08:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-24 15:08:33 +0000
commita52d8679472f3695394d6e718bd85c4d204c4523 (patch)
tree317ab6834bb7bfc2c903fadb2c8fbb04caf02318 /render.c
parentMerge branch 'custom-terminfo-install-location' (diff)
sixel: fix crash when splitting up an image across the scrollback
If an image was split up across the scrollback, and the first image chunk was resized due to it being blended with an already existing sixel, we crashed. The reason being the second chunk, emitted *after* the scrollback, tried to memcpy() image data from a now-free:d image buffer. The fix is pretty simple: create copies for *all* chunks when an image has to be split up across the scrollback. Previously, the first chunk re-used the source image buffer. Closes #608
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions