shm
612d8cdf6f
Add couple FALLTHROUGHs CIDs: 976559, 976560, 976561
...
No functional change.
2016-11-17 09:29:01 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
mrg
62f88af12a
fix the length argument to a memcpy() to refer to the size of the
...
destination, not the size of the pointer. real bug on 64 bit platforms.
2011-06-22 04:02:46 +00:00
lukem
a23ae1c696
Fix WARNS=4 issues (-Wsign-compare -Wcast-qual)
2009-04-17 14:07:45 +00:00
hubertf
1de6c4ec42
That one needs ctype.h, too (which was removed from the mrouted/defs.h
...
file for cleanup earlier today)
2007-02-22 01:29:35 +00:00
mrg
0c37c63edc
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
...
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
dsl
e7df4576bb
Add (unsigned char) cast to ctype functions
2004-10-30 08:56:00 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
dsl
1f67e2a5fa
Match latest mouted code
2003-05-16 23:10:15 +00:00
itojun
761f7bebc3
avoid possible buffer overruns - strlcpy, snprintf
2003-05-16 18:10:37 +00:00
wiz
ba718fd8b9
Move back here from gnu/dist/mrinfo now that mrouted license is cleared.
2003-03-05 21:58:20 +00:00
itojun
c3cbda0efb
move mbone tools out of basesrc, as they use part of mrouted
2002-10-01 03:50:07 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
f46e921837
poll.h, not sys/poll.h
2002-09-23 03:36:03 +00:00
mycroft
05abee23d9
select() -> poll(), nanosleep()
2002-09-19 16:45:57 +00:00
itojun
b77947eeb5
fix an exploitable fd_set overflow in mrinfo(8). drop root priv earlier.
...
do not use generated printf format string. from xs@kittenz.org
2002-08-08 00:21:36 +00:00
wiz
fd8d583021
Unifdef __STDC__. Remove __P() and register. ANSIfy.
2002-07-14 16:32:48 +00:00
itojun
a3a7b3dc05
missing memset() for sockaddr. from deraadt
2002-06-02 13:47:02 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun
2b18b04c59
updated copyright notice from Xerox. via openbsd
2001-08-01 16:45:28 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
augustss
9bd605c103
Make it compile after format string changes.
2000-10-12 06:03:32 +00:00
is
d8302e2d73
More format string cleanups by sommerfeld.
2000-10-11 20:23:46 +00:00
mrg
5b9ccc383d
use destination's size in 2 memcpy calls.
1998-07-04 21:31:59 +00:00
kleink
37bede84a4
Use strerror(3) instead of sys_errlist and sys_nerr.
1998-05-09 17:22:07 +00:00
lukem
25a12a5eab
WARNSify
1997-10-17 11:18:10 +00:00
mycroft
3d8d046845
Update to mrouted 3.8.
1995-12-10 10:57:11 +00:00
thorpej
f335667d4d
New-style RCS ids.
1995-10-03 23:16:47 +00:00
cgd
10603feb51
needs string.h
1995-06-07 17:38:35 +00:00
mycroft
bf70a55f72
Update to multicast 3.5.
1995-06-01 05:19:10 +00:00