Files
mesa/src/util
Emma Anholt 6e97df1d76 u_trace: Fix payload refcounting in u_trace_clone_append().
If the clone_append was to a chunk of the same u_trace that gets
process_chunk()ed after where we're cloning from, then the payloads would
have been unreffed in the previous chunk's cleanup_chunk().

Fixes use-after-frees with turnip gmem rendering that resulted in
corrupted payloads.

Fixes: 14e45cb21e ("util/u_trace: refcount payloads")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35379>
2025-06-11 10:02:30 +00:00
..
2023-11-02 21:03:46 +00:00
2025-04-23 16:20:59 +00:00
2025-04-17 20:20:40 +00:00
2023-12-06 07:22:02 +00:00
2025-03-05 15:46:23 +00:00
2022-09-29 23:40:18 +00:00
2022-09-29 23:40:18 +00:00
2023-10-09 23:37:52 +00:00
2024-01-16 02:15:22 +00:00
2025-05-09 20:10:10 +00:00
2023-10-25 17:27:47 +00:00
2025-05-23 11:27:14 +00:00
2024-10-30 12:59:10 +00:00
2022-06-02 13:09:16 +00:00
2022-11-04 23:20:02 +00:00
2022-11-04 23:20:02 +00:00
2024-06-07 18:29:20 +00:00
2025-04-11 21:27:37 +00:00
2025-04-11 21:27:37 +00:00
2024-11-08 08:09:49 -08:00
2022-11-24 04:33:07 +00:00
2025-04-08 15:38:38 +00:00
2025-04-08 15:38:38 +00:00
2024-06-07 18:29:20 +00:00
2025-04-09 21:09:20 +00:00
2025-04-09 21:09:20 +00:00