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

Skip to content
Commit c847a483 authored by wang, biao's avatar wang, biao Committed by Wang LiangX
Browse files

MetadataRetriever: Check null pointer to avoid tombstone crash.



When the app's vm-heap is not enough, memory allocation for big
object like bitmap may failed.

This patch add protection for bitmap creating to avoid segment
fault error in the following GetIntField function.

Change-Id: I63977dc602f4ed395afd11004a0ed027173fb685
Signed-off-by: default avatarwang, biao <biao.wang@intel.com>
Signed-off-by: default avatarTingX Li <tingx.li@intel.com>
Signed-off-by: default avatarWang LiangX <liangx.wang@intel.com>
parent b3cafa56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment