Krzysztof Parzyszek
871086bf7f
[flang] Avoid passing null pointers to nonnull parameters ( #84785 )
...
Certain functions in glibc have "nonnull" attributes on pointer
parameters (even in cases where passing a null pointer should be handled
correctly). There are a few cases of such calls in flang: memcmp and
memcpy with the length parameter set to 0.
Avoid passing a null pointer to these functions, since the conflict with
the nonnull attribute could cause an undefined behavior.
This was detected by the undefined behavior sanitizer.
2024-03-12 07:53:57 -05:00
..
2024-03-05 13:36:48 -08:00
2023-11-14 14:24:50 +00:00
2024-01-15 12:18:34 -08:00
2023-12-28 13:50:43 -08:00
2023-10-04 08:21:46 -07:00
2024-02-15 09:04:42 +01:00
2024-03-12 07:53:57 -05:00
2023-12-28 13:50:43 -08:00
2024-03-05 13:36:48 -08:00
2024-03-11 13:39:47 -05:00
2024-03-06 08:17:09 -08:00
2024-03-07 19:52:28 -08:00
2024-02-27 15:59:25 -08:00
2023-12-26 15:44:31 -08:00
2023-12-26 15:44:31 -08:00
2024-02-15 09:05:33 +01:00
2023-12-28 13:50:43 -08:00
2024-02-15 09:05:33 +01:00
2023-09-27 08:20:17 -07:00
2023-12-11 11:55:44 -08:00
2023-12-11 11:55:44 -08:00
2024-01-25 14:44:09 -08:00
2023-12-28 13:50:43 -08:00
2024-01-15 10:39:22 -08:00
2024-01-25 14:33:08 -08:00
2023-10-16 13:56:07 -07:00
2023-12-14 22:03:45 +01:00
2024-01-19 14:18:57 +00:00
2024-01-26 14:20:50 +00:00
2024-02-29 09:05:43 -08:00
2023-12-28 13:50:43 -08:00
2024-01-25 17:00:07 -08:00
2024-01-25 14:33:08 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-11 12:32:29 -08:00
2024-01-31 15:54:15 +01:00
2024-01-15 12:52:18 -08:00
2023-12-26 15:44:31 -08:00
2023-12-11 11:28:38 -08:00
2023-12-06 08:45:35 -05:00
2023-09-27 08:20:17 -07:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2024-01-25 15:15:20 -08:00
2024-02-29 14:47:28 -08:00
2024-03-05 13:36:48 -08:00
2024-01-25 14:44:09 -08:00
2024-02-27 15:59:25 -08:00
2023-12-28 13:50:43 -08:00
2023-11-29 09:20:46 -08:00
2024-02-29 09:05:43 -08:00
2023-12-28 13:50:43 -08:00
2024-01-25 14:44:09 -08:00
2024-01-25 14:44:09 -08:00
2024-02-27 15:59:25 -08:00
2023-12-28 13:50:43 -08:00
2024-03-12 07:53:57 -05:00
2023-09-27 08:20:17 -07:00
2023-09-27 08:20:17 -07:00
2024-01-13 01:22:40 +00:00
2024-02-28 10:39:14 -08:00
2023-12-26 15:12:39 -08:00
2023-09-27 08:20:17 -07:00
2023-10-17 08:20:38 -07:00
2023-09-27 08:20:17 -07:00
2024-03-01 14:28:39 -08:00
2024-03-01 14:28:39 -08:00