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

Skip to content
Unverified Commit e46a2eed authored by Jeya R's avatar Jeya R Committed by Michael Bestas
Browse files

BACKPORT: 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: Iffb9ef5cb0198ff7cbf44d0f3be03a1c9f29a90f
Acked-by: default avatarVishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: default avatarJeya R <jeyr@codeaurora.org>
(cherry-picked from commit 4d5a6020f9fc49c83e7808a63a2a8088225cde81)
[ASB_2021-10-05 / CVE-2021-30306 / Ref. ID A-193071117 - QC-CR#2915692]
Signed-off-by: default avatarAlbert I <kras@raphielgang.org>
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
parent 2f1d3c5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment