Commit Graph

27 Commits

Author SHA1 Message Date
christos 2cb3df576d Pr/4180: Erik Bertelsen: rdist does not produce intelligible error messages
and core dumps when the remote host is down:
	- avoid core dumps by checking lfp before using it.
	- use rcmd's err descriptor to grab and print the message.
1997-10-08 19:16:24 +00:00
christos b1179df85c Don't need -I${.CURDIR} 1997-10-08 19:13:39 +00:00
mrg bf96b282ae rdist is no longer setuid root. 1997-05-26 14:30:47 +00:00
pk b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
thorpej 65f3b15dc2 When iterating the host list, do not access memory that has just been
free()'d.  From Matt Beal <beal@umiacs.umd.edu>, PR #2747.
1996-09-10 18:48:57 +00:00
explorer d54b3d99f1 call regfree() -- closes pr bin/2691.
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +00:00
thorpej 3aab4f7d4f RCS id police. 1996-07-12 00:46:18 +00:00
thorpej cf0afdf885 From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec.  (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
1996-07-12 00:38:50 +00:00
thorpej 336eeb5f1c Use snprintf() whenever feasible. 1996-07-12 00:06:32 +00:00
mrg bd664fdbdb in recvf() initialise the fd to -1 so that we can not close it later
if it was never used (for e.g., with symlinks).  pr#1822.
1996-05-21 12:11:54 +00:00
cgd b47c1a949c kill some now-unnecessary casts. 1994-03-27 22:07:31 +00:00
cgd 377bda3e78 cast so size/mtime doesn't get hosed 1994-03-13 13:33:28 +00:00
cgd 035fd3978c re-fix spelling errors. going to kick them back to bostic... 1994-03-07 05:07:19 +00:00
cgd a5bfdf7812 update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
1994-03-07 05:05:16 +00:00
cgd d0ffbae00c mixing setreuid and seteuid can really screw you, in terms of security 1994-01-23 06:31:35 +00:00
jtc 2c7d5d92c9 Fix spelling errors. 1994-01-11 18:22:48 +00:00
jtc 46d81d5d45 Use <dirent.h> instead of <sys/dir.h>. 1993-12-04 02:11:23 +00:00
cgd 8b2f878d38 get rid of some (bad) setreuid() calls, which caused a security problem.
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
1993-10-09 01:11:39 +00:00
cgd cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
mrg 38235dbe32 4.4BSD-Lite2 1993-07-19 16:51:19 +00:00
mycroft e52e93dd80 Update file names. 1993-06-13 22:36:44 +00:00
mrg bfbb5d82d8 4.4BSD-Lite2 1993-06-10 05:50:01 +00:00
mycroft 0b3fc2c11f Cleanup for GCC 2. 1993-04-19 07:39:27 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00