Commit 48e8ce52 authored by Chaithanya Krishna Bacharaju's avatar Chaithanya Krishna Bacharaju Committed by Sudhir Sharma
Browse files

msm: qdsp5: Fix for crash in mp3 driver



When resource allocation fails during mp3 playback, a crash
is observed. When such failure occurs, the driver tries to
access a handle that was never initialized. This is due
to missing flag check to determine whether there was any
memory allocation or not prior to failure. Added flag in error
cases to avoid such issues.

CRs-Fixed: 394671
Signed-off-by: default avatarChaithanya Krishna Bacharaju <chaithan@codeaurora.org>
(cherry picked from commit d098938a)

Change-Id: I7606f6e8261f75d85d8d1175217a9fa2d1a5cd0a
Signed-off-by: default avatarSudhir Sharma <sudsha@codeaurora.org>
parent 9b2fbf05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment