msm: ADSPRPC: Fix for null-ptr-dereference

Check proc_name pointer for NULL before passing
it to copy_from_user function.

Change-Id: I1d7d9dec111a68eaabc65838d97b10489b41a483
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
1 file changed