]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In ffs_balloc_ufs{1,2} routines, assert that unwind records do not
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 16 Aug 2016 16:49:56 +0000 (16:49 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 16 Aug 2016 16:49:56 +0000 (16:49 +0000)
commitf1503c5a498a501da335f180176b326ffc77a085
treead9001da0eabb2adfd384bcf95aa80d72ac33783
parent4b61b26b28de236e2699d44c262dfe18d3dfe554
In ffs_balloc_ufs{1,2} routines, assert that unwind records do not
overflow local arrays.  This is not immediately obvious from the
static code inspection, due to retry logic.

Reviewed by: mckusick
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/ufs/ffs/ffs_balloc.c