https://bugs.kde.org/show_bug.cgi?id=436413
Mark Wielaard <m...@klomp.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #22 from Mark Wielaard <m...@klomp.org> --- commit 50bded71b23cb11a8b6c1b6eaf6e3abcc05a06c2 Author: Paul Floyd <pjfl...@wanadoo.fr> Date: Fri Mar 10 21:55:14 2023 +0100 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. -- You are receiving this mail because: You are watching all bug changes.