On Sun, Jun 21, 2020 at 02:23:54AM +0200, Jeremie Courreges-Anglas wrote:
>
> Small bug, but still...
>
> naddy@ reported a double free when interrupting (^C) ftp(1) at the end
> or url_get(). If that happens, the SIGINT handler longjmps and the
> cleanup path is taken a second time. To avoid
Small bug, but still...
naddy@ reported a double free when interrupting (^C) ftp(1) at the end
or url_get(). If that happens, the SIGINT handler longjmps and the
cleanup path is taken a second time. To avoid this, restore the
previous SIGINT handler in each possible error path. I chose to