freebsd-dev/sbin
Brooks Davis bed230409f SSIDs are of length 32-bytes and not NUL terminated. Use the correct
length and bail immediatly if the returned length is wrong rather than
attempting to set an correct value.

This commit differs from the patch in the PR in the use of exit instead
of return and the use of a defined value for the array.

Submitted by:	Daan Vreeken [PA4DAN] <Danovitsch at Vitsch dot net>
PR:		bin/74509
2005-10-30 16:31:05 +00:00
..
adjkerntz Expand *n't contractions. 2005-02-13 22:25:33 +00:00
atacontrol Clarify how the 'channel' argument should look like and add an 2005-08-16 21:14:25 +00:00
atm Use the C99 syntax for designated initialisers. 2005-08-05 07:33:50 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel Clarify wording for -m flag. 2005-09-17 15:10:39 +00:00
camcontrol Markup fixes. 2005-06-14 11:24:56 +00:00
ccdconfig Remove reference to raid(4), the RAIDframe manual page, which was 2005-08-20 09:10:31 +00:00
clri Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd Make devd WARNS=4 clean and bump WARNS accordingly. This will insure 2005-10-19 21:21:22 +00:00
devfs Markup fixes. 2005-06-14 11:24:56 +00:00
dhclient Avoid updating resolv.conf when no changes have actually occured. 2005-09-08 22:49:17 +00:00
dmesg WARNS=6 cleanup: 2005-01-17 13:56:46 +00:00
dump Correct the description of the TAPE environment variable. 2005-07-31 13:56:19 +00:00
dumpfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
dumpon Sort sections. 2005-01-18 10:09:38 +00:00
fdisk Call gctl_free() to free resource allocated with gctl_get_handle(). 2005-09-17 14:56:10 +00:00
fdisk_pc98 Merged from src/sbin/fdisk/fdisk.c revision 1.81. 2005-09-18 02:38:29 +00:00
ffsinfo Grammatical improvement. 2005-04-08 10:32:22 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Mention the default location of alternative super block on a 2005-09-20 08:02:38 +00:00
fsck_msdosfs Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
fsdb Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
geom gmirror.8: 2005-10-25 13:45:07 +00:00
ggate Update manual page after ggate rewrite. 2005-07-29 11:22:13 +00:00
gpt Add support for setting GPT partition labels. The partitions to be 2005-09-01 02:49:20 +00:00
growfs Don't define FS_DEBUG by default, as this causes growfs to write debugging 2005-03-31 04:10:31 +00:00
gvinum Clean up. 2005-09-12 14:31:49 +00:00
idmapd Remove dead code. 2005-04-14 20:27:30 +00:00
ifconfig SSIDs are of length 32-bytes and not NUL terminated. Use the correct 2005-10-30 16:31:05 +00:00
init Fix system shutdown timeout handling by again supporting longer running 2005-09-15 13:16:07 +00:00
ip6fw Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ipf Fix the contents of the underneath .depend files and "make checkdpadd". 2005-05-17 14:29:06 +00:00
ipfw Restore the documentation about uid, gid or prison based rules requiring 2005-10-23 16:15:02 +00:00
kldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
kldload Make it clear that the .ko extention of a module to be loaded 2005-08-27 22:25:51 +00:00
kldstat Update usage. 2005-09-24 08:20:45 +00:00
kldunload - Correctly spell MOD_QUIESCE 2005-02-09 22:06:16 +00:00
ldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mca Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
md5 Belatedly update the md5(1) man page to reflect the addition of sha256. 2005-03-10 09:56:39 +00:00
mdconfig When using files as backing stores for devices, and the user has requested the 2005-08-30 16:45:32 +00:00
mdmfs Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> or 2005-10-14 11:21:21 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes. 2005-10-07 06:39:08 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 - s/cd0c/cd0 2005-10-03 17:24:51 +00:00
mount_ext2fs Garbage collect useless variables. 2005-08-05 07:39:39 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs Xref msdosfs(5) 2005-09-14 16:36:19 +00:00
mount_nfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nfs4 Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ntfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nullfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_reiserfs Tidy up the markup. 2005-06-24 10:57:53 +00:00
mount_std Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_udf Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ufs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_umapfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_unionfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
natd WARNS=6 and gcc4 cleanup: 2005-05-02 10:13:38 +00:00
newfs Don't treat failure to find the operator GID as a fatal error; this 2005-08-14 17:07:04 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod When accessing the sysctl vfs.nfs.iodmax, don't report errors as being 2005-04-07 20:37:04 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources. 2005-05-03 16:57:38 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping Implement a new feature for ping(8) - sweeping pings. In a sweeping 2005-08-15 14:15:37 +00:00
ping6 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
quotacheck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
rcorder Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
reboot Add new option `q', which makes second stage loader quiet unless autoboot 2005-10-16 01:55:35 +00:00
recoverdisk Extend utility to allow recovering single file from the deffective 2005-08-29 23:08:01 +00:00
restore Remove a diagnostic message that can't occur: we lost the ability to 2005-10-20 11:20:55 +00:00
route Document that -q option is also applicable to the "change" command. 2005-10-02 12:55:34 +00:00
routed Use socklen_t where appropriate. 2005-08-05 09:58:49 +00:00
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore o Restore kerneldumpheader.architectureversion bytes swopping 2005-10-02 11:31:45 +00:00
sconfig Fix typos. 2004-12-30 01:48:12 +00:00
setkey fixed a crush when either -lh or -ls option is used. 2005-10-13 18:12:46 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/ 2005-09-15 16:08:04 +00:00
tunefs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile setkey(8) was repo-copied from usr.sbin/ to sbin/. 2005-10-12 21:40:41 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00