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
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
2022-05-19 10:10:32 +02:00
2021-10-09 12:37:17 +02:00
2021-10-07 08:18:47 +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
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
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