commit | 2060d17a29402214fba317618fb5fd3667470d2b | [log] [tgz] |
---|---|---|
author | Vamsi Krishna Gattupalli <vgattupa@codeaurora.org> | Thu Nov 11 17:19:03 2021 +0530 |
committer | Bharath <Bharath.Prakash@harman.com> | Tue Feb 07 18:33:30 2023 +0530 |
tree | 235d5da642151aaf9cd78d0eff173b7048ef4602 | |
parent | e730322da2e7bba698a929e5d91aa24e1c790567 [diff] |
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: Vamsi Krishna Gattupalli <vgattupa@codeaurora.org> (cherry picked from commit a38c9cb7cb46ad2d7124c20e033e047d8829128e)