Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d145f0b6-03be-65c8-2248-20db25f56fea@mirbsd.de>
Date: Thu, 19 Jun 2025 23:52:15 +0200 (CEST)
From: Thorsten Glaser <tg@...bsd.de>
To: Rich Felker <dalias@...c.org>
cc: musl@...ts.openwall.com, Alejandro Colomar <alx@...nel.org>, 
    linux-man@...r.kernel.org, libc-alpha@...rceware.org, 
    Paul Eggert <eggert@...ucla.edu>, Bruno Haible <bruno@...sp.org>, 
    bug-gnulib@....org
Subject: Re: [v2] malloc.3: Clarify realloc(3) standards conformance

On Thu, 19 Jun 2025, Rich Felker wrote:

>When targeting an older version of
>the language standard, the UB does not apply. It would be interesting

Right, but…

>OK, this is a legitimate point in support of "dangerous", but it only
>applies with -std=c23 or similar.

… GCC now defaults to that.

And even if not, it would still be a timebomb…

bye,
//mirabilos
-- 
18:47⎜<mirabilos:#!/bin/mksh> well channels… you see, I see everything in the
same window anyway      18:48⎜<xpt:#!/bin/mksh> i know, you have some kind of
telnet with automatic pong         18:48⎜<mirabilos:#!/bin/mksh> haha, yes :D
18:49⎜<mirabilos:#!/bin/mksh> though that's more tinyirc – sirc is more comfy

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.