Aras Pranckevicius
64198971ea
Fix: Reading some old blend files fires assert in Sequencer data read
...
wdas_cloud.blend file on 4.3+ raises an assert, due to reading some
VSE data:
readfile.cc:4798, blo_verify_data_address(), at
'MEM_allocN_len(new_address) >= expected_size' Corrupt .blend
file, unexpected data size.
This is caused by 30dbb7820d which removed completely unused
data from Sequence struct. But it turns out, Sequence serialization
inside scene_blend_read_data is "somewhat strange", to put it mildly,
and silently assumes that struct offset of seqbase and channels
will never change.
For now, restore the previously expected struct member offset,
ensure it stays like that via static_assert, and add notes on
how someone should fix this in a better way.
Pull Request: https://projects.blender.org/blender/blender/pulls/130296
2024-11-15 11:51:49 +01:00
..
2024-11-15 11:51:49 +01:00
2024-09-25 09:35:27 +02:00
2024-04-04 10:55:10 +11:00
2024-09-17 17:26:47 +02:00
2024-09-27 16:23:31 +02:00
2024-09-05 11:33:35 +02:00
2024-09-03 15:38:51 +02:00
2024-07-27 13:32:51 +10:00
2024-09-12 17:35:35 +02:00
2024-11-05 17:05:15 +01:00
2024-05-08 11:25:00 +02:00
2024-09-07 19:04:54 +02:00
2024-09-05 11:33:35 +02:00
2024-03-18 15:04:12 +01:00
2024-09-27 23:47:13 +10:00
2024-10-17 13:15:54 +02:00
2024-01-21 19:13:46 +01:00
2024-02-01 09:21:55 +01:00
2024-02-01 09:21:55 +01:00
2024-09-20 16:18:12 +02:00
2024-09-20 16:18:12 +02:00
2024-09-20 16:18:12 +02:00
2024-09-20 19:24:37 +02:00
2024-09-03 15:38:51 +02:00
2024-08-16 17:20:19 +02:00
2024-03-18 15:04:12 +01:00
2024-09-11 16:25:25 +10:00
2024-01-21 19:49:58 +01:00
2024-01-21 19:26:31 +01:00
2024-11-14 18:53:05 +01:00
2024-03-18 15:04:12 +01:00
2024-10-03 12:11:52 +10:00
2024-10-16 16:45:55 +02:00
2024-09-19 14:49:03 +10:00
2024-11-08 10:21:24 +01:00
2024-09-26 15:45:02 +02:00
2024-03-18 15:04:12 +01:00
2024-10-02 16:44:38 +02:00
2024-07-27 13:32:51 +10:00
2024-09-11 15:54:46 +02:00
2024-03-18 15:04:12 +01:00
2024-09-15 23:14:07 +10:00
2024-07-27 13:32:51 +10:00
2024-07-27 13:32:51 +10:00
2024-07-23 10:15:13 +02:00
2024-09-24 11:52:02 +02:00
2024-03-18 15:04:12 +01:00
2024-10-07 18:21:28 +02:00
2024-07-30 18:51:20 +02:00
2024-02-02 19:55:06 +01:00
2024-09-05 11:33:35 +02:00
2024-07-27 13:32:51 +10:00
2024-07-30 10:25:19 +02:00
2024-09-10 21:48:59 +02:00
2024-03-28 20:57:50 +11:00
2024-09-03 15:38:51 +02:00
2024-03-18 15:04:12 +01:00
2024-10-16 10:27:09 +02:00
2024-03-18 15:04:12 +01:00
2024-09-24 15:36:00 +10:00
2024-07-14 18:55:43 +10:00
2024-05-20 02:58:13 +02:00
2024-05-20 10:00:31 -04:00
2024-03-27 18:06:31 +01:00
2024-03-18 15:04:12 +01:00
2024-09-25 19:24:20 +10:00
2024-04-08 22:10:39 +02:00
2024-09-26 16:22:06 +02:00
2024-07-10 16:18:47 +02:00
2024-11-05 11:05:28 +01:00
2024-09-20 13:42:13 +02:00
2024-10-09 10:27:45 +02:00
2024-10-09 10:27:45 +02:00
2024-11-02 17:27:09 +11:00
2024-10-09 10:27:45 +02:00
2024-10-09 10:27:45 +02:00
2024-09-11 16:25:25 +10:00
2024-11-12 11:56:59 +01:00
2024-10-17 15:28:44 +02:00
2024-03-18 15:04:12 +01:00
2024-06-23 12:14:19 +10:00
2024-08-07 12:12:17 +02:00
2024-11-12 16:53:54 +01:00
2024-11-12 16:53:54 +01:00
2024-01-19 20:29:38 +01:00
2024-11-13 15:29:29 +01:00
2024-09-12 17:49:21 +02:00
2024-07-27 13:32:51 +10:00
2024-09-16 12:46:54 -04:00
2024-05-20 10:14:41 -04:00
2024-09-27 12:41:07 +10:00
2024-09-21 16:22:52 +10:00
2024-08-07 12:12:17 +02:00
2024-08-07 12:12:17 +02:00
2024-08-07 12:12:17 +02:00
2024-02-22 19:25:59 +01:00
2024-04-03 10:22:05 +11:00
2024-07-01 15:27:49 +02:00
2024-10-03 12:11:52 +10:00
2024-07-27 13:32:51 +10:00
2024-08-06 21:18:40 +10:00
2024-01-24 11:46:39 -05:00
2024-01-24 18:18:14 +01:00
2024-07-25 13:45:00 -04:00
2024-03-18 15:04:12 +01:00
2024-03-15 15:25:13 -04:00
2024-09-11 16:25:25 +10:00
2024-03-26 17:55:20 +11:00
2024-03-18 15:04:12 +01:00
2024-05-20 13:11:18 -04:00
2024-05-20 02:58:13 +02:00
2024-06-26 03:04:50 +02:00
2024-04-18 13:52:20 +02:00
2024-09-19 14:54:25 -04:00
2024-09-25 21:52:11 +02:00
2024-08-29 12:08:50 +02:00
2024-04-03 10:22:05 +11:00
2024-04-30 16:02:08 -04:00
2024-09-12 16:48:02 +02:00
2024-05-05 09:30:02 +02:00
2024-09-15 00:56:53 +02:00
2024-04-23 18:56:41 +02:00
2024-08-22 17:05:48 +02:00
2024-01-12 13:56:28 +01:00
2024-09-30 21:30:10 +02:00
2024-10-09 10:27:45 +02:00
2024-09-11 16:25:25 +10:00
2024-09-20 16:18:12 +02:00
2024-11-08 10:21:24 +01:00
2024-04-30 16:02:08 -04:00
2024-09-25 19:24:20 +10:00
2024-11-12 16:53:54 +01:00
2024-09-21 20:17:18 +02:00
2024-07-08 17:16:19 +02:00
2024-09-10 21:48:59 +02:00
2024-09-11 16:25:25 +10:00
2024-05-20 15:24:03 +02:00
2024-07-29 13:01:10 +10:00
2024-06-13 07:43:11 +02:00
2024-09-11 16:25:25 +10:00
2024-09-24 17:41:53 +10:00
2024-01-19 20:29:38 +01:00
2024-07-29 13:01:10 +10:00
2024-03-29 11:43:15 +01:00
2024-01-11 16:46:46 +11:00
2024-07-29 13:01:10 +10:00
2024-09-26 21:13:39 +10:00
2024-09-11 16:08:27 -04:00
2024-09-04 13:13:43 -04:00
2024-09-04 13:13:43 -04:00
2024-04-19 09:03:31 -04:00
2024-05-20 23:07:14 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-09-27 19:01:12 +02:00
2024-09-11 16:25:25 +10:00
2024-09-25 19:24:20 +10:00
2024-11-02 17:27:09 +11:00
2024-09-26 15:03:24 +10:00
2024-09-26 21:13:39 +10:00
2024-08-22 17:05:48 +02:00
2024-03-28 22:57:57 +11:00
2024-09-24 11:52:02 +02:00
2024-08-19 20:39:32 +02:00
2024-08-19 20:39:32 +02:00
2024-10-07 13:32:01 +02:00
2024-08-15 10:54:21 +02:00
2024-03-18 15:04:12 +01:00
2024-05-06 18:20:43 -04:00
2024-09-24 12:47:41 +02:00
2024-03-18 15:04:12 +01:00
2024-11-12 16:53:54 +01:00
2024-03-26 17:55:20 +11:00
2024-03-18 15:04:12 +01:00