James R
191f45194b
Clear g_dc each frame
...
I was running into a memcpy of overlapping memory regions
in R_RenderMaskedSegRange.
- This is because of the reallocation of lightlists, which
uses Z_Frame_Alloc.
- The memory pool that Z_Frame_Alloc draws from is cleared
each frame.
- g_dc was not cleared though, so when the lightlists were
reallocated, it'd try to copy from invalidated pointers.
- Access to invalid pointers within the memory pool does
not cause a segfault directly (because the memory pool
is allocated once). However, a memcpy involving such an
invalid pointer leads to overlap, which may cause memory
corruption.
2025-10-05 16:23:31 +02:00
..
2025-09-27 16:30:33 +02:00
2025-09-24 21:24:40 +02:00
2025-10-03 17:38:11 +02:00
2025-10-03 17:38:11 +02:00
2025-10-02 18:37:05 +02:00
2025-09-30 19:35:23 +02:00
2025-10-04 22:03:35 +02:00
2025-09-30 19:40:24 +02:00
2025-05-19 15:30:54 +02:00
2025-09-28 16:14:56 +02:00
2025-09-15 20:57:15 +02:00
2025-10-03 17:38:11 +02:00
2025-08-15 10:11:07 +02:00
2025-09-26 20:13:51 +02:00
2025-09-28 16:14:56 +02:00
2025-06-06 00:04:19 +02:00
2025-09-28 16:15:16 +02:00
2025-09-19 13:48:38 +02:00
2025-08-16 22:20:27 +02:00
2025-09-30 22:07:34 +02:00
2025-09-30 22:07:34 +02:00
2025-10-05 16:23:31 +02:00
2025-09-18 16:41:03 +02:00
2025-09-30 19:35:23 +02:00
2025-09-30 19:35:23 +02:00
2025-10-01 14:20:37 +02:00
2025-09-24 21:24:40 +02:00
2025-10-02 18:57:33 +03:00
2025-09-30 19:35:29 +02:00
2025-09-20 16:34:17 +02:00
2025-10-02 18:57:33 +03:00
2025-10-03 17:38:11 +02:00
2025-09-12 15:59:59 +02:00
2025-09-24 21:24:40 +02:00
2025-09-28 16:14:56 +02:00
2025-07-24 16:24:14 +02:00
2025-09-24 21:24:40 +02:00
2025-10-04 22:03:35 +02:00
2025-09-20 16:34:17 +02:00
2025-09-24 21:24:40 +02:00
2025-09-28 16:14:56 +02:00
2025-09-26 15:53:13 +02:00
2025-10-01 14:20:34 +02:00
2025-08-26 12:04:14 +02:00
2025-09-28 16:36:55 +02:00
2025-09-20 16:34:17 +02:00
2025-09-30 22:07:34 +02:00
2025-09-30 19:35:23 +02:00
2025-08-03 16:23:00 +02:00
2025-08-03 16:23:00 +02:00
2025-10-02 18:57:33 +03:00
2025-09-30 19:35:23 +02:00
2025-03-16 11:13:02 +01:00
2025-09-24 21:24:40 +02:00
2025-06-07 20:05:48 +02:00
2025-09-24 21:24:40 +02:00
2025-08-01 04:51:00 +02:00
2025-10-03 17:38:11 +02:00
2025-09-30 19:35:23 +02:00
2025-06-07 20:05:48 +02:00
2025-10-02 17:34:51 +02:00
2025-09-28 16:19:51 +02:00
2025-09-28 16:15:16 +02:00
2025-09-15 20:57:15 +02:00
2025-09-15 14:07:21 +02:00
2025-08-03 16:23:00 +02:00
2025-10-03 17:38:11 +02:00
2025-09-27 16:32:40 +02:00
2025-07-01 18:27:39 +02:00
2025-09-20 16:34:35 +02:00
2025-08-03 16:23:00 +02:00
2025-10-04 17:25:39 +03:00
2025-10-04 17:25:03 +03:00
2025-09-28 16:14:56 +02:00
2025-08-03 16:23:00 +02:00
2025-09-14 21:30:56 +02:00
2025-04-29 21:38:28 +02:00
2025-10-03 17:38:11 +02:00
2025-09-28 16:14:56 +02:00
2025-04-05 17:41:50 +02:00
2025-09-27 16:32:40 +02:00
2025-09-27 16:32:40 +02:00
2025-08-03 16:15:15 +02:00
2025-10-03 17:38:11 +02:00
2025-08-03 16:15:15 +02:00
2025-08-03 16:15:15 +02:00
2025-09-14 21:30:56 +02:00
2025-09-19 13:48:23 +02:00
2025-08-09 00:50:50 +01:00
2025-09-12 15:59:59 +02:00
2025-06-07 01:20:31 +02:00
2025-05-29 13:32:53 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-09-24 21:23:58 +02:00
2025-09-15 20:57:15 +02:00
2025-09-28 16:14:56 +02:00
2025-09-05 20:05:10 +02:00
2025-09-27 16:32:40 +02:00
2025-06-02 15:57:43 -05:00
2025-06-06 00:04:19 +02:00
2025-09-20 16:36:19 +02:00
2025-10-03 17:38:11 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-09-24 21:24:40 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-09-28 16:14:56 +02:00
2025-07-01 15:25:23 +02:00
2025-10-03 17:38:11 +02:00
2025-09-28 16:15:16 +02:00
2025-10-01 14:20:37 +02:00
2025-09-28 16:14:56 +02:00
2025-09-26 20:13:51 +02:00
2025-09-28 16:14:56 +02:00
2025-05-03 20:45:40 +02:00
2025-10-03 17:38:11 +02:00
2025-10-03 17:38:11 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-08-15 10:02:59 +02:00
2025-09-24 21:24:40 +02:00
2025-08-03 20:12:25 +02:00
2025-09-30 19:35:23 +02:00
2025-09-24 21:24:40 +02:00
2025-09-12 15:59:59 +02:00
2025-09-28 16:14:56 +02:00
2025-09-12 15:59:59 +02:00
2025-09-28 16:14:56 +02:00
2025-09-12 15:59:59 +02:00
2025-09-18 10:51:33 +02:00
2025-10-03 17:38:11 +02:00
2025-09-17 17:42:35 +02:00
2025-09-17 17:42:35 +02:00
2025-09-29 20:14:36 +02:00
2025-10-02 16:03:35 +02:00
2025-09-16 14:47:26 +02:00
2025-08-06 00:10:47 +02:00
2025-09-28 16:14:56 +02:00
2025-09-28 16:14:56 +02:00
2025-07-01 21:50:01 +02:00
2025-10-02 17:30:58 +02:00
2025-09-18 18:20:26 +02:00
2025-08-03 16:23:00 +02:00
2025-09-12 15:59:59 +02:00
2025-04-20 23:01:53 +02:00
2025-09-28 16:14:56 +02:00
2025-09-12 18:06:26 +02:00
2025-09-14 21:30:56 +02:00
2025-09-20 16:34:17 +02:00
2025-04-23 16:05:13 +02:00
2025-09-28 16:14:56 +02:00
2025-10-03 22:41:02 +01:00
2025-06-21 18:07:41 +02:00
2025-09-29 13:43:30 +02:00
2025-06-09 04:27:58 +02:00
2025-10-05 15:59:35 +02:00
2025-09-17 22:40:53 +01:00
2025-10-05 04:05:32 +02:00
2025-08-15 08:01:37 +02:00
2025-10-05 02:26:55 +02:00
2025-09-25 02:32:56 +02:00
2025-09-17 21:06:21 +02:00
2025-09-20 18:08:12 +02:00
2025-09-20 18:08:12 +02:00
2025-06-06 00:04:19 +02:00
2025-10-05 04:05:32 +02:00
2025-09-20 18:08:09 +02:00
2025-09-24 15:39:21 +01:00
2025-09-02 21:27:28 +02:00
2025-09-27 01:44:52 +02:00
2025-06-07 01:20:34 +02:00
2025-10-05 15:59:35 +02:00
2025-10-05 04:05:32 +02:00
2025-06-09 17:06:14 +02:00
2025-06-08 20:03:06 +02:00
2025-10-05 16:08:04 +02:00
2025-10-05 04:05:32 +02:00
2025-09-28 16:14:56 +02:00
2025-10-03 17:38:11 +02:00
2025-09-27 16:32:40 +02:00
2025-06-23 19:20:20 +02:00
2025-06-04 23:03:14 +02:00
2025-06-04 23:03:14 +02:00
2025-06-04 23:03:14 +02:00
2025-10-05 04:05:32 +02:00
2025-09-17 17:42:35 +02:00
2025-09-10 13:08:47 +02:00
2025-08-06 19:49:35 +02:00
2025-10-01 14:20:37 +02:00
2025-10-01 14:20:37 +02:00
2025-08-02 01:00:58 +02:00
2025-08-02 01:00:58 +02:00
2025-10-02 18:57:33 +03:00
2025-09-28 21:40:07 +02:00
2025-09-19 13:48:38 +02:00
2025-08-28 17:46:23 +02:00
2025-09-28 16:14:56 +02:00
2025-06-06 00:04:19 +02:00
2025-09-28 16:16:51 +02:00
2025-09-27 16:32:40 +02:00
2025-10-01 14:20:34 +02:00
2025-09-28 09:09:53 +02:00
2025-09-27 16:32:40 +02:00
2025-10-03 17:38:11 +02:00
2025-09-15 14:07:28 +02:00
2025-09-27 16:35:19 +02:00