freebsd-dev/usr.sbin/mtest
Pedro F. Giffuni 2b5554fec0 mtest: Prevent access to uninitialized value.
case 'g' makes use of value n, which is initialized for case 'b'
and passe through to case 'g'. If case 'g' is called directly
value 'n' is not initialized.

Avoid the issue by initializing n before entering the switch.

CID:		1006375
Reviewed by:	bms
2016-04-01 01:35:52 +00:00
..
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mtest.8
mtest.c mtest: Prevent access to uninitialized value. 2016-04-01 01:35:52 +00:00