Diff for /embedaddon/rsync/popt/popt.c between versions 1.1.1.1 and 1.1.1.2

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

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>