Justus Winter, le Fri 21 Feb 2014 23:12:03 +0100, a écrit :
> Previously, the terminating zero of variable-sized c strings was only
> included when copying the message if the length of the string was not
> a multiple of four. mig_strncpy returns the length of the string
> excluding the terminating
Quoting Samuel Thibault (2014-02-22 16:54:28)
> Justus Winter, le Fri 21 Feb 2014 23:12:03 +0100, a écrit :
> > Previously, the terminating zero of variable-sized c strings was only
> > included when copying the message if the length of the string was not
> > a multiple of four. mig_strncpy return
Justus Winter, le Fri 21 Feb 2014 23:12:03 +0100, a écrit :
> Previously, the terminating zero of variable-sized c strings was only
> included when copying the message if the length of the string was not
> a multiple of four. mig_strncpy returns the length of the string
> excluding the terminating
Previously, the terminating zero of variable-sized c strings was only
included when copying the message if the length of the string was not
a multiple of four. mig_strncpy returns the length of the string
excluding the terminating zero. Fix this by properly accounting for
the byte for the termina