source: npl/system/netkit-ftp/patches/19-netkit-ftp-0.17-fdleak.patch @ a2d969e

perl-5.22
Last change on this file since a2d969e was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 406 bytes
RevLine 
[c5c522c]1diff -up netkit-ftp-0.17/ftp/cmds.c.old netkit-ftp-0.17/ftp/cmds.c
2--- netkit-ftp-0.17/ftp/cmds.c.old      2007-10-17 16:28:57.000000000 +0200
3+++ netkit-ftp-0.17/ftp/cmds.c  2007-10-17 16:33:41.000000000 +0200
4@@ -764,6 +764,7 @@ usage:
5 
6        recvrequest("RETR", argv[2], argv[1], modestr,
7                    argv[1] != oldargv1 || argv[2] != oldargv2);
8+       (void) close(data), data = -1;
9        restart_point = 0;
10        return (0);
11 }
Note: See TracBrowser for help on using the repository browser.