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-acct_ovl.patch
Download
Download
diff -up netkit-ftp-0.17/ftp/cmds.c.acct_ovl netkit-ftp-0.17/ftp/cmds.c
--- netkit-ftp-0.17/ftp/cmds.c.acct_ovl 2011-09-09 15:36:36.087956561 +0200
+++ netkit-ftp-0.17/ftp/cmds.c 2011-09-09 15:41:16.457495370 +0200
@@ -1837,8 +1837,7 @@ account(int argc, char *argv[])
while (argc > 1) {
--argc;
++argv;
- strncat(buf, *argv, sizeof(buf)-strlen(buf));
- buf[sizeof(buf)-1] = 0;
+ strncat(buf, *argv, sizeof(buf)-strlen(buf)-1);
}
ap = buf;
}