Re: mountd: Avoid reading one byte before buffer
Length checks should generally be done before the dereference :-) OK millert@ - todd
mountd: Avoid reading one byte before buffer
>From CheriBSD, via FreeBSD: | Avoid reading one byte before the path buffer. | | This happens when there's only one component (e.g. "/foo"). This | (mostly-harmless) bug has been present since June 1990 when it was | commited to mountd.c SCCS version 5.9. | | Note: the bug is on the second chan