The branch, master has been updated via 265b0bc9 Silence a strncpy() warning. from 13f249a8 Silence some g++ warnings.
https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 265b0bc9bb12a3eceb1ea39c5250acba94abeea3 Author: Wayne Davison <wa...@opencoder.net> Date: Fri May 29 17:35:56 2020 -0700 Silence a strncpy() warning. ----------------------------------------------------------------------- Summary of changes: popt/popt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/popt/popt.c b/popt/popt.c index ec6f3bd8..5d927f78 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -626,7 +626,7 @@ expandNextArg(/*@special@*/ poptContext con, const char * s) 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: -- The rsync repository. _______________________________________________ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs