summaryrefslogtreecommitdiffstats
path: root/media/libmedia/MediaResourcePolicy.cpp
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2015-09-23 15:17:29 -0700
committerSteve Kondik <steve@cyngn.com>2015-12-07 18:45:16 -0800
commit6179f6448ab910b1d2d7ccfa91152a792efc740a (patch)
tree5773b29b9c6ce5f5e6192390749d828060527f07 /media/libmedia/MediaResourcePolicy.cpp
parentc3e8884de570d95be251f7e04c60fb55428c7260 (diff)
downloadframeworks_av-6179f6448ab910b1d2d7ccfa91152a792efc740a.zip
frameworks_av-6179f6448ab910b1d2d7ccfa91152a792efc740a.tar.gz
frameworks_av-6179f6448ab910b1d2d7ccfa91152a792efc740a.tar.bz2
Fix benign overflow in AudioTrack
two uint32_t's were being used in a computation that could be negative, cast to int32_t before the subtraction to prevent incorrect overflow detection. Change-Id: I33c5ef79a0ebbba055daa0ea041b42229d0c3152
Diffstat (limited to 'media/libmedia/MediaResourcePolicy.cpp')
0 files changed, 0 insertions, 0 deletions