Commit d0cf3ec3 authored by prabha's avatar prabha
Browse files

msm: adsprpc: Allocate buffer taking NULL byte into consideration



When attaching to audiopd on ADSP, allocate one
extra byte for the process name so that it is
null terminated when data is copied from file
pointer in the userspace.

Change-Id: I98ac64a4c16f44fa4fd0e09da1648b9d78d65a82
Signed-off-by: default avatarprabha <quic_prabha@quicinc.com>
parent 512444a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment