]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Return controlled EINVAL when the fdescfs lookup routine is given string
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 May 2009 09:22:33 +0000 (09:22 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 May 2009 09:22:33 +0000 (09:22 +0000)
commitada3b6a9eade74051c907b38141ef46a2c178265
tree95106d9890e016655c15910089b039c13ac4b18b
parentebc90701ac6c1f814c5bd6f3e19f0113ebe06156
Return controlled EINVAL when the fdescfs lookup routine is given string
representing too large integer, instead of overflowing and possibly
returning a random but valid vnode.

Noted by: Jilles Tjoelker <jilles stack nl>
MFC after: 3 days
sys/fs/fdescfs/fdesc_vnops.c