Gabriel, it also seems to me that ... on Sat, 15 Apr 2023 14:28:28 +0200 you (Gabriel Ravier ) wrote: > + /* This buffer is used for integer conversions. As such, it needs > + * to be able to contain the full representation of a number in base 2, > + * 8, 10 or 16, with base 2 having the largest possible requirement of > + * as many characters as the amount of bits in the largest > possible > + * integer type */ > + char buf[sizeof(uintmax_t)*CHAR_BIT]; ... here a `+3` seems to be in order to take care of the `0[bx]` prefix and a terminating null byte. Thanks Jₑₙₛ -- :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Université de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::