Commit Graph

5 Commits

Author SHA1 Message Date
Warner Losh
1c2132626f Don't dereference a NULL pointer when we don't have a ':' in the
optarg of the -W option.  Instead, do the next best thing and give a
usage message.

Reported by: kris
2003-04-20 03:34:59 +00:00
Peter Pentchev
c525f9c9a4 Replace the remaining strcpy() instances with strlcpy(), fixing a segfault
when parsing a malformed command-line parameter.
Rearrange a risky usage of sprintf() in a loop.

Reported by:	phrail@division7.us via the vuln-dev mailing list
Approved by:	re (rwatson)
2002-12-02 20:29:08 +00:00
Kris Kennaway
e936510703 Whack this code with the Blessed Wand of Stack Protection.
MFC After:	1 week
2001-08-08 22:27:02 +00:00
Duncan Barclay
a57f440cf5 Off by one in counting the number of MIB entries. 2001-05-03 20:58:22 +00:00
Warner Losh
2bc8b8ee73 Control program for raylan cards.
This is based on wicontrol.  Duncan updated it for raylan.  I've
updated this to the latest wicontrol.  In addition, to make it kinda
compatible with ifconfig, you can give the interface name w/o the -i.

Submitted by: duncan barclay
2000-11-12 21:53:40 +00:00