1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/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
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