Paul Floyd
50bded71b2
Bug 436413 - Warn about realloc of size zero
...
Adds a new warning to memcheck when realloc is used with a size of 0.
For a long time this has been "implementation defined" and so
non-portable. With C23 it will become UB.
Also adds a switch to turn off the error generation and a
second switch to select between the most common
"implementation" behaviours. The defaults for this second
switch are baked in at build time.
2023-03-10 21:55:14 +01:00
..
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2023-01-21 17:55:09 +01:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2023-03-05 15:25:51 +01:00
2023-03-05 15:25:51 +01:00
2022-05-09 22:57:06 +02:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-12-11 12:32:08 +01:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2022-05-19 10:10:32 +02:00
2022-05-19 10:10:32 +02:00
2022-04-03 21:28:24 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2022-05-19 21:28:35 +02:00
2021-10-07 08:18:47 +02:00
2022-04-03 22:28:26 +02:00
2022-04-13 23:00:44 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2023-02-28 21:21:05 +01:00
2023-02-28 13:46:08 +01:00
2023-02-28 13:46:08 +01:00
2023-02-28 13:46:08 +01:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2022-04-03 22:28:26 +02:00
2022-04-03 22:28:26 +02:00
2022-04-03 22:00:09 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2022-05-09 21:27:36 +02:00
2022-05-09 21:27:36 +02:00
2021-12-11 12:32:08 +01:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2023-01-08 17:51:37 +01:00
2021-10-09 12:37:17 +02:00
2022-12-22 23:08:45 +01:00
2023-02-25 16:12:14 +01:00
2021-10-09 12:37:17 +02:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-12-22 23:08:45 +01:00
2022-07-03 13:05:54 +02:00
2022-07-03 13:05:54 +02:00
2022-07-03 13:05:54 +02:00
2022-07-03 13:05:54 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2022-05-19 19:52:57 +02:00
2021-10-09 12:37:17 +02:00
2022-05-19 19:52:57 +02:00
2021-10-09 12:37:17 +02:00
2022-05-19 19:52:57 +02:00
2022-05-19 19:52:57 +02:00
2021-10-09 12:37:17 +02:00
2023-03-10 21:55:14 +01:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00
2021-10-09 12:37:17 +02:00