summaryrefslogtreecommitdiff
path: root/libexec/talkd
AgeCommit message (Collapse)Author
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-03-17fix a few off-by-ones; from NetBSD; ok deraadt@Otto Moerbeek
2005-10-14Use queue macros instead of directly accessing fields. ok millert@ pat@Otto Moerbeek
deraadt@
2004-11-09Avoid use after free(), slight optimization. From Patrick Latifi.Otto Moerbeek
ok tom@ deraadt@
2004-08-08spacingTheo de Raadt
2004-03-10spacesTheo de Raadt
2004-03-10close file on error paths. from Patrick LatifiTed Unangst
2003-07-29spacesTheo de Raadt
2003-06-26simple protosTheo de Raadt
2003-06-11ansi cleanup; ok ian markusTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-11-25avoid size_t -> int conversion. style nit for sizeof(). David KrauseJun-ichiro itojun Hagino
2002-10-08sa_family on wire is network byteorder. from Alexander Yurchenko ↵Jun-ichiro itojun Hagino
<grange@rt.mipt.ru>
2002-09-25- "resposne" is used without initialization, so zero-fillJun-ichiro itojun Hagino
- sendto(2) performed with osockaddr, so avoid that - reject anything other than AF_INET based on patch from xs@kittenz.org. deraadt/millert ok
2002-09-24Allocate vis_user on the stack instead of using malloc(). ThisTodd C. Miller
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.
2002-09-06use socklen_t more; henning okTheo de Raadt
2002-07-07typos/grammar/better wordsJan-Uwe Finck
in comments.
2002-07-03 add a missing newline to an error message.Vincent Labrecque
from Jean-Francois Brousseau <krapht@secureops.com> ok deraadt@
2002-06-21o Use *_FILENO defines instead of numbersTodd C. Miller
o Kill sockt global, it is not needed o Use STDOUT_FILENO as the 1st arg to sendto(). Previously we used sockt in sendto() which only worked because a) globals are intialized to 0 and b) inetd sets up fds 0-2 dup'd to the same thing so it didn't matter that we were sending to stdin, not stdout.
2002-05-22Fix last commit.Todd C. Miller
2002-05-22Fix some ut_line manipulation pointed out by Moritz Jodeit.Todd C. Miller
Fixes from Theo and myself.
2002-05-22typo; moritz@jodeit.orgTheo de Raadt
2002-05-22whack sprintfTheo de Raadt
2002-05-22strlcpy sprinklingTheo de Raadt
2002-05-21KNFTheo de Raadt
2002-05-16KNFTheo de Raadt
2002-02-19Fix gethostname() usage.Mike Pechkin
deraadt@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-07-08-WallTheo de Raadt
2001-01-11save_errno in signal handlerTheo de Raadt
2000-10-10need more size to big_buf for line termination (\r\n).Jun-ichiro itojun Hagino
2000-07-06use %s with fprintfTheo de Raadt
2000-03-28need an ntalkd man page, obviouslyTheo de Raadt
1999-11-29back out TAILQ_FOREACH - not portable, deraadt@David Leonard
1999-11-29use TAILQ_FOREACH, ok mickey@David Leonard
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-08-18TIOCNOTTY is the default in POSIX termios, no need to explicately ask for it.Todd C. Miller
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1998-07-08Force NUL termination of strings in request we get from client; ↵Todd C. Miller
okir@monad.swb.de
1998-07-03S_IWGRPTheo de Raadt
1996-07-19Patch to catch non-printables in the announce stringTodd C. Miller
(ala the 'flash' hack) from FreeBSD (cleanup of patch from Dima Ruban <dima@demos.su>). Also fixes a syslog() message--we use recvfrom now.
1996-07-18param.hTheo de Raadt
1996-07-18\007 instead of ^G; from phk@freebsd.orgTheo de Raadt
1996-07-18full hostnames; from cstruble@singularity.bevc.blacksburg.va.usTheo de Raadt
1996-07-17buffer overflow from dholland@hcs.HARVARD.EDU; could do with some cleanup?Theo de Raadt
1996-07-17buffer overflowTheo de Raadt
1996-07-15fix time differencies computations (orig from alan@parsys.co.uk, butMichael Shalayeff
don't use difftime(3), it returns double) use <sys/queue.h> for queue maintanance
1996-07-02sequence space math hates meTheo de Raadt
1996-07-022 bugs: would not have worked near epoch, copied ttyname in wrong caseTheo de Raadt