On dimanche 12 novembre 2017 12:44:31 EET Romain Vimont wrote: > The only difference is that when size is 0, you call malloc(0) instead > of returning NULL directly. > > But yes, it might be better semantically, so that the condition tests > only the overflow. It's moot now. -- Rémi Denis-Courmont