summaryrefslogtreecommitdiff
path: root/libexec/talkd
AgeCommit message (Collapse)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-05-17strlcat is easier hereitojun
2003-04-22backout 1.18 and 1.19itojun
2003-04-22free vis_useritojun
2003-04-22malloc vis_user (why 1.6 branch has the fix already?)itojun
2002-11-20verify strvis() buffer length is enough. make sure string termination beforeitojun
use. remove extra ntohs() which is not needed. from Charles Blundell
2002-10-08sa_family on wire format is network byteorderitojun
from Alexander Yurchenko <grange@rt.mipt.ru>
2002-09-25Allocate vis_user on the stack instead of using malloc(). Thisitojun
way we don't have to worry about malloc() failure. Also closes a memory leak since vis_user was never free()d. Lack of malloc() checking pointed out by Peter Werner. from openbsd
2002-09-19find_user() in process.c does an unbounded copy into a destinationitojun
buffer that is smaller in size than the source buffer. also, there is no guarantee that any of the string components of the request packet are null terminated. in some cases, not all elements of the response buffer are explicitly set. specifically pad and addr. a talk client can spy to see which host is talking to which host by sending out regular packets, to which talkd responds without clearing the addr element. from xs@kittenz.org
2002-09-19use NETBSDSRCDIR as appropriatelukem
2002-08-20utmpx supportchristos
2002-03-04Lineup comment and remove unnecessary whitespaces.enami
2002-03-04Use \a instead of embedding raw control-G character.enami
2001-09-27PR/5631: Rumi Szabolcs: Make talk work without COMPAT43christos
2001-04-04syslogd(8), not syslog(8).wiz
2001-02-19convert to use getprogname()cgd
2001-02-04fix nested externchristos
2000-10-17Formatting nit: add a space.tv
2000-10-10make sure big_buf is big enough to hold line terminations.itojun
if all the lines have N_CHARS of characters, we will write up N_CHARS * N_LINES + (3 + 2 * N_LINES) + 1 of bytes.
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Many more to come.
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
- ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
1998-07-04- clean up some more cruftmrg
- support "talkd -l" for extra (syslog(3)) logging - fix error in previous announce.c change - use getopt - add (missing) -d and -l descriptions to man page
1998-07-03- use S_IWGRP over 020mrg
- KNF - ensure we don't overflow a buffer (don't think it would anyway). - favour snprintf over sprintf (and varargs versions)
1998-04-01Need <time.h> for localtime() prototype.kleink
1997-10-20Fix .Nm usage.enami
1997-10-08merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.mrg
1997-07-06Use WARNS=1christos
1997-06-29Install as ntalkdchristos
1997-06-29We are not going to be running as root anymore, so no need to check for that.christos
1997-06-29- use ttymsg from libutilchristos
- clean warnings - PR/3778: Eric Fischer: talkd should find the least idle terminal
1997-06-29Merge in lite-2christos
1997-01-29Doh! MAXHOSTNAMELEN, not MAXHOSTNAMEexplorer
1997-01-29Allow local hostname to be longer than 32 characters, and make certain it willexplorer
fit in the buffer space provided. Also, ensure null termination.
1996-07-17Use snprintf(3) when printing into arrays allocated on the stack.rat
Patch submitted by David Holland <dholland@hcs.HARVARD.EDU>
1995-06-07typeof(timeval.tv_sec) != time_tcgd
1994-12-23stdlib.h for protoscgd
1994-12-22specify man pages the new way.cgd
1994-12-21vis(3)ify remote user name. Fixes bug 589. Fix basically as submitted by ↵glass
matthew green
1993-08-01Add RCS identifiers.mycroft
1993-08-01Add RCS indentifiers.mycroft
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd