[musl] Re: realloci(): A realloc() variant that works in-place
Thorsten Glaser
tg@mirbsd.de
Sat Nov 1 18:17:05 GMT 2025
On Sat, 1 Nov 2025, Rich Felker wrote:
>Actually returning a value larger than n seems bad (makes it
>impossible to detect OOB writes beyond the actually requested size)
>though so this seems like a dubious feature.
But it allows the application to write beyond the requested size
through the returned one, saving it from needing to call the new
realloc-like function too often if it stores that value as size,
e.g. for growing string buffers.
bye,
//mirabilos
--
(gnutls can also be used, but if you are compiling lynx for your own use,
there is no reason to consider using that package)
-- Thomas E. Dickey on the Lynx mailing list, about OpenSSL
More information about the Libc-alpha
mailing list