msm: ipc_router: Add NULL pointer checks

Perform sanity checks on the derefereced pointers to avoid NULL
pointer access.

Change-Id: Idb406c2ef7170019a49a66ea0631295e128ebc10
CRs-Fixed: 313382
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
1 file changed