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
..
2018-12-05 18:15:57 -08:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2018-06-15 13:44:14 +00:00
2021-10-07 21:33:45 +02:00
2021-10-07 21:33:45 +02:00
2021-10-07 21:33:45 +02:00
2021-10-07 21:33:45 +02:00
2009-07-26 09:04:42 +00:00
2021-10-07 21:33:45 +02:00
2009-04-28 11:19:43 +00:00
2021-10-07 21:33:45 +02:00
2013-12-10 17:56:20 +00:00
2013-12-10 17:56:20 +00:00
2021-10-07 21:33:45 +02:00
2021-10-07 21:33:45 +02:00
2023-01-09 23:57:01 +01:00
2021-10-07 21:33:45 +02:00
2014-08-20 06:48:22 +00:00