|
|
Message-ID: <190a03f2-4818-7061-59d7-276508931a3d@redhat.com>
Date: Wed, 7 Jan 2026 22:01:30 +0000 (UTC)
From: Joseph Myers <josmyers@...hat.com>
To: Alejandro Colomar <une+c@...jandro-colomar.es>
cc: David Svoboda <svoboda@...t.org>, Robert Seacord <rcseacord@...il.com>,
"sc22wg14@...n-std. org" <sc22wg14@...n-std.org>,
Florian Weimer <fweimer@...hat.com>, Carlos O'Donell <carlos@...hat.com>,
Aaron Ballman <aaron@...onballman.com>,
"libc-alpha@...rceware.org" <libc-alpha@...rceware.org>,
"musl@...ts.openwall.com" <musl@...ts.openwall.com>,
"linux-man@...r.kernel.org" <linux-man@...r.kernel.org>
Subject: Re: [SC22WG14.34664] n3752, alx-0029r8 - Restore the traditional
realloc(3) specification
On Wed, 7 Jan 2026, Alejandro Colomar wrote:
> I thought you were talking about the UB introduced in C23, but that one
> seems not documented in Annex J. In fact, it's still documented
> incorrectly as ID (J.3.13 entry 41, in N3220).
See
https://stackoverflow.com/questions/78691087/reallocptr-0-in-c23-now-what
regarding the lists of UB related to realloc being out of date. I think
this could be fixed editorially via a merge request (to make the Annex J
lists in C2y agree with the actual current realloc semantics in C2y) but I
haven't got round to writing such an MR myself.
--
Joseph S. Myers
josmyers@...hat.com
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.