--- embedaddon/rsync/popt/popt.c 2012/02/17 15:09:30 1.1 +++ embedaddon/rsync/popt/popt.c 2021/03/17 00:32:36 1.1.1.2 @@ -626,7 +626,7 @@ expandNextArg(/*@special@*/ poptContext con, const cha pos = te - t; t = realloc(t, tn); te = t + pos; - strncpy(te, a, alen); te += alen; + memcpy(te, a, alen+1); te += alen; continue; /*@notreached@*/ /*@switchbreak@*/ break; default: