Package: yafc / 1.1.3-2

Metadata

Package Version Patches format
yafc 1.1.3-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
heimdal_read_pw_string.patch | (download)

configure.ac | 12 10 + 2 - 0 !
src/input.c | 6 4 + 2 - 0 !
2 files changed, 14 insertions(+), 4 deletions(-)

 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)

src/ftp/ftpsend.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 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.