[$] realloc() and the oversize importance of zero-size objects
Date:
Thu, 24 Oct 2024 15:36:41 +0000
Description:
Small objects can lead to large email threads. In this
case, the GNU C Library (glibc) community has been having an extensive
debate over the handling of zero-byte allocations. Specifically, what
should happen when a program calls realloc() specifying a size of zero? This is, it seems, a topic about which some
people, at least, have strong feelings.
======================================================================
Link to news story:
https://lwn.net/Articles/995196/
--- Mystic BBS v1.12 A47 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)