Re: [PATCH 3/4] DSPBRIDGE: Fix memory corruption in DRV_ProcFreeDMMRes

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

 



On 2/18/2010 8:40 AM, 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()
    which will not retrieve correct DMMRes element.

Signed-off-by: Ameya Palande<ameya.palande@xxxxxxxxx>
Signed-off-by: Felipe Contreras<felipe.contreras@xxxxxxxxx>
---
  drivers/dsp/bridge/rmgr/drv.c |   12 ++----------
  1 files changed, 2 insertions(+), 10 deletions(-)


Pushed to dspbridge

- omar
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux