https://bugs.kde.org/show_bug.cgi?id=436413

--- Comment #7 from Paul Floyd <pjfl...@wanadoo.fr> ---
The wording is getting a bit tougher in C2X

If ptr is a null pointer, the realloc function behaves like the malloc function
for the specified size.
Otherwise, if ptr does not match a pointer earlier returned by a memory
management function, or
if the space has been deallocated by a call to the free or realloc function, or
if the size is zero, the
behavior is undefined. If memory for the new object is not allocated, the old
object is not deallocated
and its value is unchanged

Implementation defined -> undefined.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to