Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev
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@localhost>
Home |
Main Index |
Thread Index |
Old Index