msm: qdsp5: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: I061e7373c05d0239e2c0cb53c71a9ca1cebe6fc8
CRs-Fixed: 554317
CRs-Fixed: 554822
CRs-Fixed: 554844
CRs-Fixed: 556206
CRs-Fixed: 556792
CRs-Fixed: 556786
CRs-Fixed: 556782
CRs-Fixed: 556223
CRs-Fixed: 556219
CRs-Fixed: 556217
CRs-Fixed: 556216
CRs-Fixed: 556212
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: qdsp5: Update code to avoid access userspace data

Copy userspace data to kernel and then access the data
to avoid invalid pointer access issue.
Also, prevent use of uninitialized variables by checking
sscanf return value.

Change-Id: I53c6b0218b26823abfa60fcc015e6c44882b9e5e
CRs-Fixed: 547923
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
msm: vidc: Check validity of userspace address

Before writing to a userspace address, verification
of the validity of user space address is required.

Change-Id: I9141e44a6c11aaf3f4d57c08bb0dd26a7b214f34
CRs-fixed: 556356
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Merge "msm:qdsp5:Fix to avoid kernel memory disclosure in audio_mvs_ioctl"