use strlcat() strlcpy() and slprintf() whenever possible to avoid any

chance of a buffer overflow
This commit is contained in:
Andrew Tridgell
1998-05-15 09:26:01 +00:00
parent 087bf010d2
commit e42c9458c2
9 changed files with 118 additions and 44 deletions

1
main.c
View File

@@ -190,7 +190,6 @@ static void do_server_sender(int f_in, int f_out, int argc,char *argv[])
struct file_list *flist;
char *dir = argv[0];
extern int relative_paths;
extern int am_daemon;
extern int recurse;
if (verbose > 2)