summaryrefslogtreecommitdiff
path: root/libexec/talkd/talkd.c
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.
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-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
2001-09-27PR/5631: Rumi Szabolcs: Make talk work without COMPAT43christos
2001-02-19convert to use getprogname()cgd
2001-02-04fix nested externchristos
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)
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.
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd