Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37858367
en ru br
ALT Linux repos
S:0.18-alt0.pre1.3
5.0: 0.18-alt0.pre1.1
4.1: 0.18-alt0.pre1.0.M41.1
4.0: 0.17-ipl5mdk.1
3.0: 0.17-ipl5mdk

Group :: Networking/File transfer
RPM: ftp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: netkit-ftp-0.17-fedora-sigseg.patch
Download


--- netkit-ftp-0.17-orig/ftp/ftp.c	2007-08-06 23:32:49.000000000 +0200
+++ netkit-ftp-0.17/ftp/ftp.c	2007-08-06 23:31:06.000000000 +0200
@@ -483,8 +483,10 @@ getreply(int expecteof)
 					return (0);
 				}
 				lostpeer(0);
-				fclose(cout);
-				cout = NULL;
+				if (cout) {
+					fclose(cout);
+					cout = NULL;
+				}
 				if (verbose) {
 					printf("421 Service not available, remote server has closed connection\n");
 					(void) fflush(stdout);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin