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-05-18 23:41:43 +02:00
2021-09-30 18:08:54 -05:00
2022-02-02 00:52:31 +00:00
2021-10-07 22:41:22 +02:00
2015-09-05 08:40:43 +00:00
2004-01-03 14:24:42 +00:00
2017-05-08 17:21:59 +00:00
2021-10-07 22:41:22 +02:00
2004-02-15 16:12:35 +00:00
2004-02-15 16:12:35 +00:00
2009-08-04 02:32:55 +00:00
2009-08-04 02:32:55 +00:00
2021-10-07 22:41:22 +02:00
2009-08-12 00:14:44 +00:00
2017-05-05 22:13:20 +00:00
2004-01-06 21:46:02 +00:00
2004-01-06 21:46:02 +00:00
2004-01-06 21:46:02 +00:00
2021-10-07 22:41:22 +02:00
2021-10-10 15:56:50 +02:00
2021-10-07 22:41:22 +02:00
2021-10-07 22:41:22 +02:00
2006-10-17 01:28:48 +00:00
2021-10-07 22:41:22 +02:00
2021-10-07 22:41:22 +02:00
2021-10-07 22:41:22 +02:00
2012-11-18 00:36:15 +00:00
2021-10-07 22:41:22 +02:00
2016-11-19 14:54:44 +00:00
2005-03-15 01:41:08 +00:00
2006-10-17 01:28:48 +00:00