Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region

2012-10-03 Thread Lukáš Czerner
rnel.org > Subject: Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region > > On 12-08-17 12:11 PM, Martin K. Petersen wrote: > > > > > > > "Lukas" == Lukas Czerner writes: > > > > Lukas> Currently it is possible to unmap one mo

Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region

2012-09-05 Thread Douglas Gilbert
On 12-08-17 12:11 PM, Martin K. Petersen wrote: "Lukas" == Lukas Czerner writes: Lukas> Currently it is possible to unmap one more block than user Lukas> requested to due to the off-by-one error in unmap_region(). This Lukas> is probably due to the fact that the end variable despite its Lukas>

Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region

2012-09-05 Thread Lukáš Czerner
ubject: Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region > > >>>>> "Lukas" == Lukas Czerner writes: > > Lukas> Currently it is possible to unmap one more block than user > Lukas> requested to due to the off-by-one error in unmap_region().

Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region

2012-08-17 Thread Martin K. Petersen
> "Lukas" == Lukas Czerner writes: Lukas> Currently it is possible to unmap one more block than user Lukas> requested to due to the off-by-one error in unmap_region(). This Lukas> is probably due to the fact that the end variable despite its Lukas> name actually points to the last block to un