Hirohito Higashi
0c109e4e60
patch 9.2.0196: textprop: negative IDs and can cause a crash
...
Problem: textprop: negative IDs and can cause a crash without "text"
(Paul Ollis)
Solution: Strictly reserve negative IDs for virtual text, ignore "id"
when "text" is provided in prop_add() (Hirohito Higashi).
When prop_add() was called with a negative id and no "text", the
property was stored with a negative tp_id. A subsequent call to
prop_list() or screen redraw would then treat it as a virtual text
property and dereference b_textprop_text.ga_data, which is NULL when
no virtual text properties exist.
Negative ids are reserved for virtual text properties, so always
reject them with E1293 regardless of whether virtual text properties
exist. Also, when "text" is specified any user-provided id is now
silently ignored and an internal negative id is assigned.
Remove the now-unnecessary did_use_negative_pop_id flag and E1339.
Update E1293's message and the documentation accordingly.
related: #19684
closes: #19741
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-03-18 21:11:41 +00:00
..
2026-02-14 15:19:10 +00:00
2026-02-25 21:08:15 +00:00
2026-03-17 21:08:44 +00:00
2026-02-14 15:19:10 +00:00
2026-03-13 19:15:25 +00:00
2026-03-16 22:20:15 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-18 22:19:06 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2024-08-17 15:14:43 +02:00
2024-08-17 15:14:43 +02:00
2026-01-19 18:07:28 +00:00
2024-08-20 19:57:00 +02:00
2024-08-20 19:57:00 +02:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2024-08-15 21:39:33 +02:00
2024-08-15 21:39:33 +02:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-06 09:44:56 +00:00
2026-02-14 15:19:10 +00:00
2026-01-25 18:17:40 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-08 21:03:12 +00:00
2026-02-09 18:35:43 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-16 19:32:21 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2025-08-10 10:28:16 +02:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-02 19:36:07 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-04 21:09:25 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-17 20:19:59 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-18 21:11:41 +00:00
2026-02-14 15:19:10 +00:00
2026-03-04 21:09:25 +00:00
2026-03-12 18:34:37 +00:00
2026-02-14 15:19:10 +00:00
2026-03-18 21:11:41 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-13 19:15:25 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-17 20:19:59 +00:00
2026-03-08 19:48:32 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-05 20:55:39 +00:00
2024-11-28 21:45:39 +01:00
2024-11-28 21:45:39 +01:00
2025-08-20 20:23:29 +02:00
2025-08-20 20:23:29 +02:00
2026-01-19 18:07:28 +00:00
2025-10-07 19:19:43 +00:00
2025-10-07 19:19:43 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2025-08-18 21:40:40 +02:00
2025-08-18 21:40:40 +02:00
2024-08-17 15:14:43 +02:00
2024-08-17 15:14:43 +02:00
2026-01-19 18:07:28 +00:00
2024-08-20 19:57:00 +02:00
2024-08-20 19:57:00 +02:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2024-08-15 21:39:33 +02:00
2024-08-15 21:39:33 +02:00
2025-06-29 17:51:33 +02:00
2025-06-30 20:28:46 +02:00
2025-06-24 21:17:25 +02:00
2025-06-24 21:17:25 +02:00
2026-01-19 18:07:28 +00:00
2025-07-09 19:43:51 +02:00
2025-07-09 19:43:51 +02:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2025-06-23 19:52:42 +02:00
2025-06-23 19:52:42 +02:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-12 18:49:38 +00:00
2026-02-14 15:19:10 +00:00
2024-09-17 19:12:03 +02:00
2024-09-17 19:12:03 +02:00
2026-01-19 18:07:28 +00:00
2024-09-17 19:03:16 +02:00
2024-09-17 19:03:16 +02:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2024-09-15 20:03:05 +02:00
2024-09-15 20:03:05 +02:00