Love Hörnquist Åstrand
85c940fa73
Sync with NetBSD rcp, add v6 parsing support and no setuid code at all.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 17:30:06 +00:00
Love Hörnquist Åstrand
847a99a0ec
Check return values from setuid, prompted by MIT
...
advisory. Thanks to Tom Yu at MIT, and Michael Calmer and Marcus
Meissner at SUSE. Either of CVE-2006-3083 or CVE-2006-3084.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:43:58 +00:00
Love Hörnquist Åstrand
be47b11f0a
Explicit typecast to avoid signess warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-30 09:31:17 +00:00
Love Hörnquist Åstrand
5c338794d7
use unsigned char * to make sure its not negative when passing it to
...
is* functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:52:58 +00:00
Assar Westerlund
e706d29cca
(allocbuf): do not leak memory on failure and zero re-used memory,
...
from Markus Friedl <markus@openbsd.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-04 14:35:58 +00:00
Assar Westerlund
b4210694d2
(roundup): add fallback definition
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 23:36:37 +00:00
Assar Westerlund
9f46cf0a61
use rcp_locl.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 22:52:38 +00:00
Assar Westerlund
57c800fa37
replace vfork by fork
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 20:11:38 +00:00
Assar Westerlund
2e6cfb0d8a
add RCSID
...
do not use sig_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 20:09:19 +00:00
Assar Westerlund
6cf377153d
add port of bsd rcp changed to use existing rsh, contributed by Richard Nyberg <rnyberg@it.su.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 18:36:21 +00:00