Realloc freed the memory long before the C99 standard.
Realloc freed the memory long before the C99 standard.
Posted Oct 24, 2024 18:11 UTC (Thu) by randomguy3 (subscriber, #71063)In reply to: Realloc freed the memory long before the C99 standard. by fman
Parent article: realloc() and the oversize importance of zero-size objects
Posted Oct 24, 2024 18:12 UTC (Thu)
by randomguy3 (subscriber, #71063)
[Link]
Posted Nov 1, 2024 0:50 UTC (Fri)
by kelnos (subscriber, #174370)
[Link]
I know no one actually interprets or implements it that way, but to me, that's still a valid reading of the spec.
Realloc freed the memory long before the C99 standard.
Realloc freed the memory long before the C99 standard.