Home | History | Annotate | Download | only in talkd
History log of /src/libexec/talkd/talkd.c
RevisionDateAuthorComments
 1.21  16-Mar-2009  lukem ANSI KNF
 1.20  20-Jul-2008  lukem branches: 1.20.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
 1.19  04-Mar-2008  dholland branches: 1.19.4;
y2038 fixes: time_t != long.
 1.18  08-Jan-2007  christos branches: 1.18.4; 1.18.8;
- use getnameinfo instead of gethostbyaddr
- add tsa2sa and use it
 1.17  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.16  20-Nov-2002  itojun verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
 1.15  08-Oct-2002  itojun sa_family on wire format is network byteorder
from Alexander Yurchenko <grange@rt.mipt.ru>
 1.14  19-Sep-2002  itojun find_user() in process.c does an unbounded copy into a destination
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
 1.13  27-Sep-2001  christos branches: 1.13.2;
PR/5631: Rumi Szabolcs: Make talk work without COMPAT43
 1.12  19-Feb-2001  cgd convert to use getprogname()
 1.11  04-Feb-2001  christos fix nested extern
 1.10  06-Jul-1998  mrg branches: 1.10.10;
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- 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
 1.9  04-Jul-1998  mrg - clean up some more cruft
- 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
 1.8  03-Jul-1998  mrg - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
 1.7  29-Jun-1997  christos We are not going to be running as root anymore, so no need to check for that.
 1.6  29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.5  29-Jun-1997  christos Merge in lite-2
 1.4  29-Jan-1997  explorer Doh! MAXHOSTNAMELEN, not MAXHOSTNAME
 1.3  29-Jan-1997  explorer Allow local hostname to be longer than 32 characters, and make certain it will
fit in the buffer space provided. Also, ensure null termination.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.10.1  19-Sep-2002  itojun libexec/talkd/extern.h 1.3
libexec/talkd/process.c 1.8 via patch
libexec/talkd/talkd.c 1.13-1.14 via patch

Fix buffer overrun.
 1.13.2.2  16-Jun-2003  grant Pull up revision 1.16 (requested by itojun in ticket #1001):

verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
 1.13.2.1  02-Oct-2002  lukem Pull up revision 1.14 (requested by itojun in ticket #846):
find_user() in process.c does an unbounded copy into a destination
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
 1.18.8.1  24-Mar-2008  keiichi sync with head.
 1.18.4.1  23-Mar-2008  matt sync with HEAD
 1.19.4.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed