Commit 7b1b7423 authored by lijuang's avatar lijuang
Browse files

platform: msm_shared: Fix null pointer and array index out of bounds issue

The index of array is got from smem, it maybe out of bounds. And if
the array member is not defined, the device will access a null pointer
when doing snprintf.

Change-Id: Idcd984f18855d3bffcefd932e7b46af4ce691f02
parent 7f17ec5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment