[OMAPZOOM][PATCH 3/6] DSPBRIDGE Fix for DCD stack overflow

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

 



From: Fernando Guzman Lugo <x0095840@xxxxxx>
Date: Wed, 28 Jan 2009 19:23:24 -0600
Subject: [PATCH] DSPBRIDGE Fix for DCD stack overflow

Fixed DCD stack buffer overflow.

Signed-off-by: Fernando Guzman Lugo <x0095840@xxxxxx>
---
 drivers/dsp/bridge/rmgr/dbdcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c
index 129c16b..6fbe03f 100644
--- a/drivers/dsp/bridge/rmgr/dbdcd.c
+++ b/drivers/dsp/bridge/rmgr/dbdcd.c
@@ -473,7 +473,7 @@ DSP_STATUS DCD_GetObjectDef(IN struct DCD_MANAGER *hDcdMgr,
 	u32 dwBufSize;	/* Used by REG functions */
 	char szRegKey[REG_MAXREGPATHLENGTH];
 	char *szUuid;		/*[MAXUUIDLEN];*/
-	char szRegData[MAXUUIDLEN];
+	char szRegData[REG_MAXREGPATHLENGTH];
 	char szSectName[MAXUUIDLEN + 2];	/* ".[UUID]\0" */
 	char *pszCoffBuf;
 	u32 dwKeyLen;		/* Len of REG key. */
-- 
1.5.4.3

--
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