Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ba7ba75043cdabf30bc98260848aa8b9e43c0bd.camel@gmail.com>
Date: Thu, 08 Jan 2026 15:59:22 +0100
From: Martin Uecker <ma.uecker@...il.com>
To: Joseph Myers <josmyers@...hat.com>, 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.34679] n3752, alx-0029r8 - Restore the traditional
 realloc(3) specification

Am Mittwoch, dem 07.01.2026 um 22:01 +0000 schrieb Joseph Myers:
> 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.


There know of various other issues and omissions in Annex J3.  I think
it would be good if the UB study group informally takes over maintenance
of this annex. 

Martin

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.