Rsync 3.1.3 segfault

Wayne Davison wayne at
Sat Jun 13 10:22:30 UTC 2020

On Mon, May 28, 2018 at 7:22 AM Marcin Krol wrote:

> The code responsible for segfault is new popt_unalias function added
> in 3.1.3. To be exact this line causes segfault:
> poptAddAlias(con, unalias, 0);

I have never seen this crash occur, but it dawned on me that the reason is
most likely that the function calling poptAddAlias() created an argv array
with only one element in it instead of the more proper 2-element array with
room for a trailing NULL.  I've tweaked the code to change that.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list