freebsd-skq/usr.bin/sockstat
robert 83107b499f To reserve space for 65536 bits, allocate
65536 / (sizeof(int) * CHAR_BITS) `int's instead of
65536 / (sizeof(int) * CHAR_BITS) bytes to avoid a possible
segmentation fault if ports above 16383 are specified via the
-p option on a platform with 4 byte wide ints.

Approved by:	re (bmah)
Reported by:	Marco Wertejuk <wertejuk@mwcis.com>
2003-05-09 09:11:27 +00:00
..
Makefile Rewrite sockstat(1) in C. 2002-07-31 12:32:03 +00:00
sockstat.1 mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
sockstat.c To reserve space for 65536 bits, allocate 2003-05-09 09:11:27 +00:00