Subject: Re: CVS commit: src/sys/dev
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 01/23/2003 15:33:40
On Fri, Jan 24, 2003 at 12:00:09AM +0100, Manuel Bouyer wrote:
> > bounds_check_with_label() RAW_PART too.
>
> I'm not sure it's a really good idea. The idea of RAW_PART is that you can
> do what you want, including trying to read beyond the end of the raw partition.
> If we really want to do this, is should be checked against the size the disk
> reported, not what the disklabel says (which may not be accurate).
Totally correct -- the bounds_check_with_label() for RAW_PART is wrong.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>