android_kernel_google_msm/arch
Kuirong Wang 36566070dc msm: audio: qdsp6v2: Check return code from audio_aio_open()
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>
2013-03-15 17:08:17 -07:00
..
alpha
arm msm: audio: qdsp6v2: Check return code from audio_aio_open() 2013-03-15 17:08:17 -07:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
ia64
m32r
m68k
microblaze
mips
mn10300
openrisc
parisc
powerpc
s390
score
sh
sparc
tile
um
unicore32
x86
xtensa
.gitignore
Kconfig