Fix off-by-one on specially crafted /etc/shells file.
authortobias <tobias@openbsd.org>
Fri, 17 Jan 2014 20:51:54 +0000 (20:51 +0000)
committertobias <tobias@openbsd.org>
Fri, 17 Jan 2014 20:51:54 +0000 (20:51 +0000)
commit74f2eca76a12567ff995c2d1b2adc88e48bef133
treea02353dfe1d74099bc0858d7d1c161255734c7ca
parent57a7573d7b3ed1ecd61ee6cebee7bb653044b87f
Fix off-by-one on specially crafted /etc/shells file.

ok gilles@, millert@
lib/libc/gen/getusershell.c