On Wed, May 01, 2013 at 11:04:28AM +0200, Alex Hermann wrote:
strncpy() must be replaced with memmove() when src and dst (may) overlap.
You are right, it is probably better to do the copying with memove(), then we dont have to fixup all the transformation functions.