mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
36566070dc
When audio_aio_open() is triggered in blocking fashion, it frees audio resouces and returns error code. In the current implementation, callers did not check the error code which can lead to dereference to freed resources and cause system crash. Update the callers to check return code and then return error back to application to avoid the issue. In the meanwhile, update the audio_aio_open not to free memory for caller and leave the caller to free the memory in error condition. CRs-fixed: 436653 Change-Id: If4dda158cb988c5837517817b1afa0572c30696e Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org> |
||
---|---|---|
.. | ||
alpha | ||
arm | ||
avr32 | ||
blackfin | ||
c6x | ||
cris | ||
frv | ||
h8300 | ||
hexagon | ||
ia64 | ||
m32r | ||
m68k | ||
microblaze | ||
mips | ||
mn10300 | ||
openrisc | ||
parisc | ||
powerpc | ||
s390 | ||
score | ||
sh | ||
sparc | ||
tile | ||
um | ||
unicore32 | ||
x86 | ||
xtensa | ||
.gitignore | ||
Kconfig |