[diff.cpp23.mem] (original) (raw)
Affected subclause: [c.malloc]
Change: Calling realloc with a non-null pointer and zero size has erroneous behavior.
Rationale: The C standard library does not define this behavior.
Effect on original feature: Valid C++ 2023 code that calls reallocwith a non-null pointer and a size of zero is erroneous and may change behavior.