diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
commit | ac180a0ccc7b9d6d1a7e2c0ba34a0e617fb87b2a (patch) | |
tree | 9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-fdleak.patch | |
parent | 72d830c7e64b038eb96c0f36e0c1a0ab225238e3 (diff) |
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-fdleak.patch')
-rw-r--r-- | netkit-ftp-0.17-fdleak.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-fdleak.patch b/netkit-ftp-0.17-fdleak.patch new file mode 100644 index 0000000..0f995c5 --- /dev/null +++ b/netkit-ftp-0.17-fdleak.patch @@ -0,0 +1,11 @@ +diff -up netkit-ftp-0.17/ftp/cmds.c.old netkit-ftp-0.17/ftp/cmds.c +--- netkit-ftp-0.17/ftp/cmds.c.old 2007-10-17 16:28:57.000000000 +0200 ++++ netkit-ftp-0.17/ftp/cmds.c 2007-10-17 16:33:41.000000000 +0200 +@@ -764,6 +764,7 @@ usage: + + recvrequest("RETR", argv[2], argv[1], modestr, + argv[1] != oldargv1 || argv[2] != oldargv2); ++ (void) close(data), data = -1; + restart_point = 0; + return (0); + } |