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

Commit ebadb15f authored by Asish Bhattacharya's avatar Asish Bhattacharya
Browse files

msm: qdsp5: memset stack buffer allocation.



This is needed to avoid garbage data in uninitialized variables.

Change-Id: Ic66e83038ba460fa296e9b1da9096e32e8777f60
CRs-Fixed: 554822
Signed-off-by: default avatarAsish Bhattacharya <asishb@codeaurora.org>
parent fea6c296
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -897,6 +897,7 @@ static ssize_t audamrnb_in_read(struct file *file,
	struct amrnb_encoded_meta_out meta_field;
	struct audio_frame_nt *nt_frame;
	MM_DBG("count = %d\n", count);
	memset(&meta_field, 0, sizeof(meta_field));
	mutex_lock(&audio->read_lock);
	while (count > 0) {
		rc = wait_event_interruptible(