UB status of snprintf on invalid ptr+size combination?
Vincent Lefevre
vincent@vinc17.net
Mon Mar 20 10:42:51 GMT 2023
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.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Libc-alpha
mailing list