Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2060d17a authored by Vamsi Krishna Gattupalli's avatar Vamsi Krishna Gattupalli Committed by Bharath
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 avatarVamsi Krishna Gattupalli <vgattupa@codeaurora.org>
(cherry picked from commit a38c9cb7)
parent e730322d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment