Files
Odin/src
bobsayshilol b10538da7a Fix invalid union access
UBSan spotted that |src->Basic.kind| had a value outside the range of
|BasicKind| due to it actually being a |Type_Pointer|. Since these are
stored in a union there could be cases where the value of |kind| just
so happens to be |Basic_string|, in which case the branch would have
been taken when it shouldn't have been.

To fix this simply check that it's a |Type_Basic| before treating it as
a |Basic|.
2024-12-01 11:54:51 +11:00
..
2024-07-08 13:08:18 +01:00
2023-12-13 12:38:01 +00:00
2024-10-08 11:57:54 +01:00
2024-09-14 22:13:37 +02:00
2021-08-29 15:54:56 +02:00
2024-12-01 11:54:50 +11:00
2024-10-04 11:16:33 +01:00
2024-09-15 00:03:20 +02:00
2024-12-01 11:54:51 +11:00
2024-09-14 22:13:37 +02:00
2022-12-18 21:17:07 +00:00
2024-04-26 13:25:08 +01:00
2024-09-01 21:42:47 +02:00
2023-09-11 23:36:39 +01:00
2023-12-13 12:38:01 +00:00
2023-08-19 12:26:59 +01:00
2023-12-13 12:38:01 +00:00
2023-12-13 12:38:01 +00:00
2024-06-29 18:42:56 -04:00