- 09 Jul, 2015 10 commits
-
-
Joshua J. Drake authored
When the sum of the 'size' and 'chunk_size' variables is larger than 2^32, an integer overflow occurs. Using the result value to allocate memory leads to an undersized buffer allocation and later a potentially exploitable heap corruption condition. Ensure that integer overflow does not occur. Bug: 20923261 Change-Id: Id050a36b33196864bdd98b5ea24241f95a0b5d1f
-
Joshua J. Drake authored
When the 'chunk_data_size' variable is less than 'kSkipBytesOfDataBox', an integer underflow can occur. This causes an extraordinarily large value to be passed to MetaData::setData, leading to a buffer overflow. Bug: 20923261 Change-Id: Icd28f63594ad941eabb3a12c750a4a2d5d2bf94b
-
Chong Zhang authored
bug: 20222489 Change-Id: I3a64a5999d68ea243d187f12ec7717b7f26d93a3 (cherry picked from commit 532cd7b8)
-
Lajos Molnar authored
Bug: 19641538 Change-Id: I5aae3f100846c125decc61eec7cd6563e3f33777
-
Marco Nelissen authored
Bug: 19400722 Change-Id: Ib3afdf73fd4647eeea5721c61c8b72dbba0647f6
-
Joshua J. Drake authored
Several arithmetic operations within parseESDescriptor could underflow, leading to an out-of-bounds read operation. Ensure that subtractions from 'size' do not cause it to wrap around. Bug: 20139950 (cherry picked from commit 07c0f59d) Change-Id: I377d21051e07ca654ea1f7037120429d3f71924a
-
Joshua J. Drake authored
A few sample table related FourCC values are handled by the setSampleToChunkParams function. An integer overflow exists within this function. Validate that mNumSampleToChunkOffets will not cause an integer overflow. Bug: 20139950 (cherry picked from commit c24607c2) Change-Id: I49086952451b09a234d8b82669251ab9f1ef58d9
-
Joshua J. Drake authored
Commit edd4a76e (which addressed bugs 15328708, 15342615, 15342751) added several integer overflow checks. Unfortunately, those checks fail to take into account integer promotion rules and are thus themselves subject to an integer overflow. Cast the sizeof() operator to a uint64_t to force promotion while multiplying. Bug: 20139950 (cherry picked from commit e2e812e5) Change-Id: I080eb3fa147601f18cedab86e0360406c3963d7b
-
- 31 Mar, 2015 2 commits
-
-
Lajos Molnar authored
Bug: 19984798 Change-Id: Iff13cf03c4ce3141380f4d7ab4a2b1045c5ce747
-
Eric Laurent authored
Fix device type comparison in DeviceVector::getDevicesFromType(): AUDIO_DEVICE_BIT_IN bit must be excluded from type comparison and used as an orthogonal match criterium. Manual cherry-pick from master 4c91f90c Bug: 19957479 Change-Id: Ica9f440384bcb85e669864bd29504a4fda862ce7
-
- 26 Mar, 2015 1 commit
-
-
Eric Laurent authored
Add limit on number of audio ports and patches requested by listaudioPorts() and listAudioPatches(). Bug: 19261727. Change-Id: I21dfdf11cf805734cc3b7b2a85762c5598f60580 (cherry picked from commit 1d670b11)
-
- 11 Feb, 2015 1 commit
-
-
Lajos Molnar authored
This reverts commit 7a9510dcf637cc1e5c953d77c7bd4409c80a820f. Bug: 19317169 Change-Id: I881ce6b1592b7250f423a561dadd40d379e16104
-
- 10 Feb, 2015 2 commits
-
-
The Android Automerger authored
-
Lajos Molnar authored
-
- 09 Feb, 2015 1 commit
-
-
The Android Automerger authored
-
- 07 Feb, 2015 2 commits
-
-
Lajos Molnar authored
-
Weiyin Jiang authored
Hold a wakelock while paused in audio offload mode, until audio teardown event is received, or pause is canceled. Since ARM cores are sleeping, the delayed AMessage will not be received, and the audio output driver will not be closed. This blocks XO shutdown. Bug: 19297092 Change-Id: I3d11fef633e3f2783f4aa31e71285e2fa09d234c
-
- 06 Feb, 2015 5 commits
-
-
Lajos Molnar authored
This can be used by low-end devices Bug: 19027495 Change-Id: I2cf90bf5a9a95b3f38c32eef2a950c9e33c70a7a
-
Marco Nelissen authored
Bug:19289381 Change-Id: If7bbf1ecf1cb8796188e61bc2c42f8a099510424
-
Lajos Molnar authored
Bug: 19030684 Change-Id: I6d4674fad126c26d3b6819fde91277a92dfd8862
-
Lajos Molnar authored
This seems to have the same layout as OMX_COLOR_FormatYUV420SemiPlanar Bug: 19246722 Change-Id: Ief41bfaf997426a6900c3632dadaf8f4a6a38baf
-
Chong Zhang authored
bug: 19284568 Change-Id: I2ccf1c5952c13d1332b6a91f967af0bd3ee67451
-
- 05 Feb, 2015 5 commits
-
-
Lajos Molnar authored
Bug: 19179927 Change-Id: I3accaa655e9bad2b0efcac98c5dd95a23f8d6671
-
Lajos Molnar authored
Bug: 17906609 Bug: 19179288 Bug: 19179927 Change-Id: I3713d4e894d3350d46e25dc0206b21c0ff3b9009
-
Lajos Molnar authored
Bug: 19179927 Change-Id: I3accaa655e9bad2b0efcac98c5dd95a23f8d6671
-
Lajos Molnar authored
Bug: 17906609 Bug: 19179288 Bug: 19179927 Change-Id: I3713d4e894d3350d46e25dc0206b21c0ff3b9009
-
The Android Automerger authored
-
- 04 Feb, 2015 11 commits
-
-
Chong Zhang authored
-
Lajos Molnar authored
-
Chong Zhang authored
bug: 19266084 Change-Id: I06ef57b09b048a85f77be4dee27599c4f60aacc9
-
Robert Shih authored
-
Lajos Molnar authored
Use software renderer if codec cannot support flex-YUV on a surface Bug: 17906609 Change-Id: I3d0e3ff5fee7d7b3e2416892968fa18f6139598a
-
Lajos Molnar authored
-
Robert Shih authored
Also add comments describing how start time and segment start time are used. Based on AOSP CL https://android-review.googlesource.com/127653 by Joakim Johansson <joakim.c.johansson@sonymobile.com> but uses the lowest segment start time instead of highest. Bug: 18821145 Change-Id: I14cf1186d0daf517a24e8423c3a708b4c9ba06c4
-
Eric Laurent authored
Device disconnect notifications are sent from audiopolicy to the HALs. Send connect notifications as well. Bug: 19249796. Bug: 17785277. Change-Id: Ia823ed154d6a0c7ceb84b0a94f0c3b78392faaf6
-
The Android Automerger authored
-
Lajos Molnar authored
Bug: 17906609 Change-Id: I14116796eaa94aa8ae62dcc29f67cb7d2c060d34
-
Chong Zhang authored
also fix buffering percentage report (should be the buffered position) bug: 18730095 Change-Id: I11e7ca4ba9e772a1ae76861ca1ff1725b62f65ae
-