Revert "Revert "msm: mpm-of: Fix NULL pointer and buffer overflow errors""

This reverts commit 9c47f6a649ecb39b763d801250a5747547949358.Reverting
te patch since it was incorrectly reverted a critical bug fix.

Change-Id: I765dd55231eaa36af538debd9e3cbddf2af10b28
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
1 file changed