Re: [PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-29 Thread Minchan Kim
On Thu, Nov 29, 2012 at 12:44:14AM -0800, Nitin Gupta wrote: > On 11/28/2012 11:55 PM, Minchan Kim wrote: > >Hi Nitin, > > > >On Wed, Nov 28, 2012 at 11:45:06PM -0800, Nitin Gupta wrote: > >>Changelog v2 vs v1: > >> - Changelog message now correctly explains the problem > >> > >>Fixes a bug introd

Re: [PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-29 Thread Nitin Gupta
On 11/28/2012 11:55 PM, Minchan Kim wrote: Hi Nitin, On Wed, Nov 28, 2012 at 11:45:06PM -0800, Nitin Gupta wrote: Changelog v2 vs v1: - Changelog message now correctly explains the problem Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of incompressible pages") which caused

Re: [PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-28 Thread Minchan Kim
Hi Nitin, On Wed, Nov 28, 2012 at 11:45:06PM -0800, Nitin Gupta wrote: > Changelog v2 vs v1: > - Changelog message now correctly explains the problem > > Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling > of incompressible pages") which caused a freed buffer to be used > in case a

[PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-28 Thread Nitin Gupta
Changelog v2 vs v1: - Changelog message now correctly explains the problem Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of incompressible pages") which caused a freed buffer to be used in case a partial write (non PAGE_SIZED) request is received and the data is found to be inco