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

2012-10-03 Thread Lukáš Czerner
...@redhat.com, linux-ker...@vger.kernel.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 lczer...@redhat.com writes: Lukas Currently it is possible to unmap one more block than

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

2012-09-05 Thread Lukáš Czerner
...@vger.kernel.org Subject: Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region Lukas == Lukas Czerner lczer...@redhat.com 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

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 lczer...@redhat.com 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

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

2012-08-17 Thread Martin K. Petersen
Lukas == Lukas Czerner lczer...@redhat.com 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