1666a24e9c
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ftp#b1415fc448cd0131b94f8c8bcaede3f1eb394460
14 lines
467 B
Diff
14 lines
467 B
Diff
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;
|
|
}
|