Package: yafc / 1.1.3-2
Patch seriesview the series file
|heimdal_read_pw_string.patch | (download)||
fix issues with ui_util_read_pw_string on gnu/hurd The symbol hc_UTIL_read_pw_string is defined in hcrypto but yafc is not linked with -lhcrypto. For some reason this works on !hurd-i386 but fails on hurd-i386.
|segfault_server_disconnect.patch | (download)||
3 2 + 1 - 0 !
fixed segfault if server disconnected. For sock_destroy to work properly, it needs to be followed by a line which NULLs out the pointer, so there isn't a double-free. . There was one place where this wasn't happening (probably not the cause of the issue though), and one place where it was happening, but AFTER the call to ftp_read_reply(). . If ftp_read_reply() had an error (server closed control connection), yafc would abort the connection, closing the (already closed, but not marked as such) data connection, causing a double-free.