Re: [PATCH] DSPBRIDGE: Fix memory corruption in DRV_ProcFreeDMMRes

2010-02-16 Thread Ameya Palande
Hi Felipe, On Mon, 2010-02-15 at 16:59 +0100, Contreras Felipe (Nokia-D/Helsinki) wrote: On Mon, Feb 15, 2010 at 04:36:31PM +0100, Ameya Palande wrote: This patch fixes following issues: 1. pDMMRes was dereferenced and modified when it was already freed by PROC_Ummap(). This results in

Re: [PATCH] DSPBRIDGE: Fix memory corruption in DRV_ProcFreeDMMRes

2010-02-16 Thread Felipe Contreras
Hi, On Tue, Feb 16, 2010 at 2:38 PM, Ameya Palande ameya.pala...@nokia.com wrote: Hi Felipe, On Mon, 2010-02-15 at 16:59 +0100, Contreras Felipe (Nokia-D/Helsinki) wrote: On Mon, Feb 15, 2010 at 04:36:31PM +0100, Ameya Palande wrote: --- a/drivers/dsp/bridge/rmgr/drv.c +++

Re: [PATCH] DSPBRIDGE: Fix memory corruption in DRV_ProcFreeDMMRes

2010-02-15 Thread Felipe Contreras
On Mon, Feb 15, 2010 at 04:36:31PM +0100, Ameya Palande wrote: This patch fixes following issues: 1. pDMMRes was dereferenced and modified when it was already freed by PROC_Ummap(). This results in memory corruption. 2.Instead of passing ulDSPAddr, ulDSPResAddr was passed to PROC_UnMap()