UB status of snprintf on invalid ptr+size combination?
Andreas Schwab
schwab@linux-m68k.org
Mon Mar 20 10:44:55 GMT 2023
On Mär 20 2023, Vincent Lefevre wrote:
> On 2023-03-20 10:19:13 +0100, Andreas Schwab wrote:
>> On Mär 20 2023, Vincent Lefevre wrote:
>>
>> > So, you mean that _exit() may have undefined behavior while _Exit()
>> > has a well-defined behavior? (as this would match your definition
>> > of equivalence.)
>>
>> That's a logical fallacy.
>
> Not more than saying that memcpy and memmove are equivalent.
No.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list