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
..
2022-12-24 15:32:15 -08:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00