Antonio Scandurra
0cfec6e713
Fix segfault when drawing paths ( #4084 )
...
Previously, we were using `size_of` but passing the wrong type in
(`MonochromeSprite` instead of `PathSprite`). This caused us to read
outside of the `sprites` smallvec and triggered the segfault. This
reverts #4078 because I don't think using a `SmallVec` was the issue (it
might have masked this problem though, because we would most of the time
copy from the stack and not from the heap).
With this pull request we are also fixing another potential source of
segfaults, due to checking if we exhausted the instance buffer too late
when drawing underlines.
Release Notes:
- Fixed a crash that could happen during rendering.
2024-01-17 10:18:04 +01:00
..
2024-01-15 11:34:06 -05:00
2024-01-07 14:14:21 +01:00
2024-01-08 16:53:01 -07:00
2024-01-15 18:16:41 +01:00
2024-01-03 12:59:39 -08:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-15 14:08:49 -08:00
2024-01-13 21:37:13 -07:00
2024-01-16 18:35:50 -05:00
2024-01-15 14:08:49 -08:00
2024-01-16 17:09:28 -05:00
2023-12-12 13:35:22 +01:00
2024-01-15 20:22:47 -05:00
2024-01-10 17:27:02 +01:00
2024-01-15 11:34:06 -05:00
2024-01-03 12:59:39 -08:00
2024-01-15 16:26:04 -05:00
2024-01-16 17:20:27 +01:00
2024-01-15 13:33:58 -07:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:33:51 -08:00
2024-01-15 11:34:06 -05:00
2024-01-17 09:50:55 +01:00
2024-01-16 17:09:28 -05:00
2024-01-03 12:59:39 -08:00
2024-01-08 19:30:18 +01:00
2024-01-09 16:28:42 -07:00
2024-01-15 11:34:06 -05:00
2024-01-15 16:26:04 -05:00
2024-01-15 14:03:38 -08:00
2024-01-09 16:10:12 -07:00
2024-01-03 12:59:39 -08:00
2024-01-02 00:04:51 +01:00
2024-01-03 12:59:39 -08:00
2024-01-08 22:02:56 -07:00
2023-12-06 14:29:09 -08:00
2024-01-03 20:02:23 -05:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-10 10:09:48 -05:00
2024-01-03 12:59:39 -08:00
2024-01-12 20:10:40 -08:00
2024-01-15 22:23:16 +01:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-12 20:10:40 -08:00
2024-01-14 13:54:10 -07:00
2024-01-10 10:09:48 -05:00
2024-01-12 20:10:40 -08:00
2024-01-16 10:41:57 -08:00
2024-01-12 20:10:40 -08:00
2024-01-05 19:36:55 +01:00
2024-01-01 23:56:04 +01:00
2024-01-15 11:34:06 -05:00
2024-01-15 11:34:06 -05:00
2024-01-01 23:50:14 +01:00
2024-01-16 20:32:21 +01:00
2024-01-15 16:26:04 -05:00
2024-01-09 14:16:46 -08:00
2024-01-16 20:32:21 +01:00
2024-01-11 17:43:49 +02:00
2024-01-15 11:34:06 -05:00
2024-01-16 18:49:37 -05:00
2024-01-11 16:22:34 -08:00
2024-01-15 11:34:06 -05:00
2024-01-10 23:09:09 -07:00
2024-01-15 16:26:04 -05:00
2024-01-17 11:06:46 +02:00
2024-01-15 16:36:24 -05:00
2024-01-03 12:59:39 -08:00