Merge "platform: msm_shared: Fix potential buffer overflow"