24/03/2022 17:15, David Marchand: > Parameters to this static helper can't be NULL. > str has already been dereferenced in caller. > dst and size point to variable in stack.
The same function is copy/pasted in several places. Why simplifying only this one? because of its static nature? Shouldn't we make it a common function as other string helpers?