brian
c6c6c7de65
Ensure that things returned by gethostname() and
...
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)
Prompted by: bde
1999-04-07 08:27:45 +00:00
dillon
c4e01c66b0
Reviewed by: freebsd-current, freebsd-security
...
Removed getuid() root check so ntalkd can be run from a tty sandbox.
It isn't suid root anyway, who knows why the getuid() check was even
in there in the first place!
1998-12-01 21:12:57 +00:00
bde
1d56e79a13
Fixed printf format errors.
1998-08-02 16:44:18 +00:00
bde
122886a1e0
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
imp
37887cee9a
sprintf->snprintf paranoia
...
Obtained from: OpenBSD (?)
1997-12-24 19:39:57 +00:00
charnier
fa82bf4e17
Use err(3). Add protos for -Wall.
1997-12-02 12:33:42 +00:00
peter
090fb430f1
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
pst
729071c96e
Fix buffer overrun problem.
...
Cannidate for: 2.2 [must]
Obtained from: Lite/2 and BSDI's published patch
1997-01-18 08:30:01 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
361a15b8f4
add forgotten $Id$
1996-09-22 21:56:57 +00:00
peter
7b9ecd2de3
zap #include <sgtty.h>, it's not used.
1996-09-07 02:08:35 +00:00
jkh
4a2e323e1b
Here is a patch to talkd which makes it send the request to the tty with
...
the lowest idle time.
Submitted by: loodvrij@gridpoint.com (Bruce J. Keeler)
1996-03-24 09:27:20 +00:00
rgrimes
f05428e4cd
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
ache
16912a5d08
Fix hostnames >32 chars
...
Submitted by: cstruble@singularity.bevc.blacksburg.va.us
1994-12-15 01:21:06 +00:00
ache
21a0da26e1
Implement security fix correctly: via isprint()
1994-10-22 17:37:06 +00:00
phk
9940e15ad2
A nice little security fix. Things must be rough in moscow...
...
Submitted by: dima@demos.su (Dima Ruban)
1994-10-22 17:19:49 +00:00
wollman
96c19e77ba
Update to new make macros and disable Kerberos because we haven't got it
...
set up right yet.
1994-08-05 21:24:58 +00:00
phk
002b4706b8
Reviewed by: phk
...
changed ^G to \007
1994-07-24 02:44:28 +00:00
rgrimes
7d07d2de2f
BSD 4.4 Lite Libexec Sources
1994-05-27 12:39:25 +00:00