commit | a38c9cb7cb46ad2d7124c20e033e047d8829128e | [log] [tgz] |
---|---|---|
author | Vamsi Krishna Gattupalli <vgattupa@codeaurora.org> | Thu Nov 11 17:19:03 2021 +0530 |
committer | Vamsi Krishna Gattupalli <vgattupa@codeaurora.org> | Thu Nov 11 17:30:35 2021 +0530 |
tree | fb4a06173cdf7381660a74a65f5aa210bc48aee7 | |
parent | 61b3349abda245df755f0955c4e071273c2efa49 [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>