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-11-21 15:25:14 +01:00
2015-05-26 11:52:45 +00:00
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
2023-01-28 22:08:29 +01: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
2010-06-02 19:32:51 +00: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
2019-05-26 20:07:51 +02:00
2020-10-10 18:11:31 -07:00
2020-10-10 18:11:31 -07:00
2022-11-12 21:02:07 +01:00
2023-03-10 21:55:14 +01: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
2023-01-21 13:51:50 +01: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
2019-05-26 20:07:51 +02:00
2020-10-10 18:11:31 -07:00
2012-11-10 22:29:54 +00:00
2020-10-10 18:11:31 -07:00
2021-02-20 08:44:50 -08:00
2021-02-20 08:44:50 -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
2018-03-18 13:53:38 +01:00
2020-10-10 18:11:31 -07:00
2014-08-09 12:47:17 +00:00