summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorSangkyu Lee <sk82.lee@lge.com>2013-02-08 16:26:39 +0900
committerSangkyu Lee <sk82.lee@lge.com>2013-02-28 16:42:42 +0900
commitd72b2aa86e19644bbaa72039b3a3044390ba0ecd (patch)
treeb0906031536d69a4a84b667e5f82b1aa5de60a78 /libvideoeditor
parent2cd9cc25f07a9270a932fdf9c7b52c398e07bce5 (diff)
downloadframeworks_av-d72b2aa86e19644bbaa72039b3a3044390ba0ecd.zip
frameworks_av-d72b2aa86e19644bbaa72039b3a3044390ba0ecd.tar.gz
frameworks_av-d72b2aa86e19644bbaa72039b3a3044390ba0ecd.tar.bz2
Avoid invalid memory access when using extractMetadata()
BpMediaMetadataRetriever::extractMetadata() returns a string which is returned by readCString() function of the reply parcel object. However, the parcel object is destroyed at the end of the extractMetadata() function, and so the returned pointer is invalid. This patch fixes this problem by storing the metadata string value. Change-Id: I2a2ccba78246175b2845a237679d6cebe881e83b Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
Diffstat (limited to 'libvideoeditor')
0 files changed, 0 insertions, 0 deletions