mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
Fixes: - Memory leak: drag_free_remote_item now frees children array - Memory leak: drag_free_offer now frees pending data - Memory leak: toplevel_data_for_drag frees old URI string before replacement - Protocol bug: drag_notify missing OSC prefix in escape code output - Protocol bug: drag_notify missing colon separators between metadata keys - Buffer overflow: add_payload symlink case ensures capacity for null terminator - Integer overflow: expand_rgb_data uses size_t casts for multiplication - Memory leak: realloc anti-pattern fixed in 7 locations (drop_register_window, drop_dispatch_data, drag_add_mimes, drag_add_pre_sent_data, drag_add_image, add_payload default case, queue_payload_to_child) - UB: queue_payload_to_child guards memcpy with NULL source + 0 count Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/3c7e550c-e8e8-413e-a54b-87d61cb8e574 Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>