| Age | Commit message (Collapse) | Author |
|
Patches provided by Joel Baker in PR 22284, verified by myself.
|
|
use. remove extra ntohs() which is not needed. from Charles Blundell
|
|
from Alexander Yurchenko <grange@rt.mipt.ru>
|
|
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
|
|
|
|
|
|
|
|
- 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
|
|
- 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
|
|
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
|
|
|
|
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
|
|
|
|
|
|
fit in the buffer space provided. Also, ensure null termination.
|
|
|
|
|