* Thomas Zajic <zlatko gmx at>, 29/04/2002, 00:24 > Done. I tried to keep changes to the original code at a minimum, and > #ifdef'd the stuff I added where possible. [...] Enclosed add-on patch fixes a segfault (due to an uninitialized pointer) that occured randomly when using ~/.netrc, not having a [user]@ part in the URL, and issuing certain FTP commands (eg. DELE). Ooops, my bad ... This one is to be applied on top of my original *-netrc.diff. Thomas -- =-------------------------------------------------------------------------= - Thomas "ZlatkO" Zajic <zlatko gmx at> Linux-2.4.18 & Mutt-1.2.5.1i - - "It is not easy to cut through a human head with a hacksaw." (M. C.) - =-------------------------------------------------------------------------=
diff -ur mc-4.5.99a-new/vfs/ftpfs.c mc-4.5.99a/vfs/ftpfs.c --- mc-4.5.99a-new/vfs/ftpfs.c Wed May 1 01:34:51 2002 +++ mc-4.5.99a/vfs/ftpfs.c Wed May 1 01:31:00 2002 @@ -829,7 +829,7 @@ { char *host, *user; #ifdef USE_NETRC - char *pass; + char *pass = NULL; #endif int port;
Attachment:
pgp34qQMHNJNy.pgp
Description: PGP signature