freebsd-dev/usr.sbin/jls
Bjoern A. Zeeb 0f1fe22db5 Correctly check the number of prison states to not access anything
outside the prison_states array.
When checking if there is a name configured for the prison, check the
first character to not be '\0' instead of checking if the char array
is present, which it always is. Note, that this is different for the
*jailname in the syscall.

Found with:	Coverity Prevent(tm)
CID:		4156, 4155
MFC after:	4 weeks (just that I get the mail)
2008-12-11 01:04:25 +00:00
..
jls.8
jls.c Correctly check the number of prison states to not access anything 2008-12-11 01:04:25 +00:00
Makefile