NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47435: wd_trim doesn't check bounds



The following reply was made to PR kern/47435; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/47435: wd_trim doesn't check bounds
Date: Tue, 8 Sep 2015 09:08:47 +0000

 update:
 
 On Sat, Jan 12, 2013 at 12:15:01AM +0000, dholland%eecs.harvard.edu@localhost wrote:
  > wd_trim() adds in the partition offset, if you do it on other than
  > RAW_PART, but it does not check that you aren't running off the end of
  > the partition into another.
 
 This is still true, as far as I know.
 
  > (Also, I have my doubts as to whether DIOCGDISCARDPARAMS and
  > DIOCDISCARD is the API we want to provide in the long term. This is
  > not the right place to discuss that though.)
 
 This API got replaced and this part is no longer an issue.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index