OSDN Git Service

android-x86/frameworks-av.git
8 years agoMerge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791...
Marco Nelissen [Mon, 23 May 2016 14:46:25 +0000 (14:46 +0000)]
Merge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791 am: 9897bd43a6 am: 8fd8bfdfbd  -s ours
am: 748277a992  -s ours

* commit '748277a99233a764273a9356704d38a91458c704':
  DO NOT MERGE Check malloc result to avoid NPD

Change-Id: Ic1a8b9ca9793562e4da245ca8a6eb13702152a4d

8 years agoMerge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791...
Marco Nelissen [Mon, 23 May 2016 14:43:28 +0000 (14:43 +0000)]
Merge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791 am: 9897bd43a6
am: 8fd8bfdfbd  -s ours

* commit '8fd8bfdfbd930cdc669c4fc33d7d251f12ec7e5e':
  DO NOT MERGE Check malloc result to avoid NPD

Change-Id: I97bc664b28a9e96051d0bc63c4cc4501bd2f901b

8 years agoMerge "Check malloc result to avoid NPD" into lmp-dev
Marco Nelissen [Mon, 23 May 2016 14:40:27 +0000 (14:40 +0000)]
Merge "Check malloc result to avoid NPD" into lmp-dev
am: e5734d88ad

* commit 'e5734d88ad6e4eacf110ed3f9aa4041b8b5598be':
  Check malloc result to avoid NPD

Change-Id: I20f011a5a48128f41c9000818df1c2498621657b

8 years agoMerge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791
Marco Nelissen [Mon, 23 May 2016 14:40:27 +0000 (14:40 +0000)]
Merge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev am: fddbb1a791
am: 9897bd43a6

* commit '9897bd43a614c28e6c52dcbce817d9ef6f201ccc':
  DO NOT MERGE Check malloc result to avoid NPD

Change-Id: Ia9f97994af54fff11644f7d59821e8ddf6fb54f1

8 years agoMerge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev
Marco Nelissen [Mon, 23 May 2016 14:37:29 +0000 (14:37 +0000)]
Merge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev
am: fddbb1a791

* commit 'fddbb1a791975adfa1323377b09606ad44122ff2':
  DO NOT MERGE Check malloc result to avoid NPD

Change-Id: Idf65c8e5520e1c2a4571ea434f0114ae13334e7b

8 years agoMerge "Check malloc result to avoid NPD" into lmp-dev
Marco Nelissen [Mon, 23 May 2016 14:32:55 +0000 (14:32 +0000)]
Merge "Check malloc result to avoid NPD" into lmp-dev

8 years agoMerge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev
Marco Nelissen [Mon, 23 May 2016 14:32:45 +0000 (14:32 +0000)]
Merge "DO NOT MERGE Check malloc result to avoid NPD" into klp-dev

8 years agoMerge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59...
Jeff Tinker [Fri, 13 May 2016 21:23:28 +0000 (21:23 +0000)]
Merge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59 am: 883b244f45 am: 31a3aa5628
am: f11141924a

* commit 'f11141924a3b4208954bedf3dbeb9b7bfaab75c5':
  Fix security vulnerability in libstagefright

Change-Id: Ie56f84aae5d2d17a62932f3d2274978f82a34cd4

8 years agoMerge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59...
Jeff Tinker [Fri, 13 May 2016 21:20:29 +0000 (21:20 +0000)]
Merge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59 am: 883b244f45
am: 31a3aa5628

* commit '31a3aa56287d63aaf1ac804cc04154ed779032ff':
  Fix security vulnerability in libstagefright

Change-Id: I4d666e42bfc64e384b9fd8c8fad07d645be6a19a

8 years agoMerge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59
Jeff Tinker [Fri, 13 May 2016 21:17:31 +0000 (21:17 +0000)]
Merge "Fix security vulnerability in libstagefright" into klp-dev am: eb37c37c59
am: 883b244f45

* commit '883b244f4567fe0cd099f0583940e531eb0e2af4':
  Fix security vulnerability in libstagefright

Change-Id: Idd0798f74590e2546c4f0d1b0940ccf7e42f5a17

8 years agoMerge "Fix security vulnerability in libstagefright" into klp-dev
Jeff Tinker [Fri, 13 May 2016 21:14:44 +0000 (21:14 +0000)]
Merge "Fix security vulnerability in libstagefright" into klp-dev
am: eb37c37c59

* commit 'eb37c37c594604d0e6acbf14be6e04e065fab226':
  Fix security vulnerability in libstagefright

Change-Id: Icaecc46c13c06e6eff0167bbc1af4c580d161f62

8 years agoMerge "Fix security vulnerability in libstagefright" into klp-dev
Jeff Tinker [Fri, 13 May 2016 21:08:15 +0000 (21:08 +0000)]
Merge "Fix security vulnerability in libstagefright" into klp-dev

8 years agoCheck malloc result to avoid NPD
Marco Nelissen [Wed, 11 May 2016 18:11:20 +0000 (11:11 -0700)]
Check malloc result to avoid NPD

Bug: 28471206
Change-Id: Id5d055d76893d6f53a2e524ff5f282d1ddca3345

8 years agoDO NOT MERGE Check malloc result to avoid NPD
Marco Nelissen [Wed, 11 May 2016 18:11:20 +0000 (11:11 -0700)]
DO NOT MERGE Check malloc result to avoid NPD

Bug: 28471206
Change-Id: Id5d055d76893d6f53a2e524ff5f282d1ddca3345

8 years agoh264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d52...
Pawin Vongmasa [Fri, 13 May 2016 19:51:36 +0000 (19:51 +0000)]
h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d am: 5dfa5f268e
am: a0bb560e3b

* commit 'a0bb560e3bdbfa96c4184545ed82c17d01025294':
  h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I24776d732ce661acf0a3ee1bdb31055a39258c98

8 years agoh264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d
Pawin Vongmasa [Fri, 13 May 2016 19:48:56 +0000 (19:48 +0000)]
h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d
am: 5dfa5f268e

* commit '5dfa5f268e97d862744ffddc4596577495022bea':
  h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I30bba39d44061c72485419ac8686fba2427e3328

8 years agoh264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64
Pawin Vongmasa [Fri, 13 May 2016 19:46:20 +0000 (19:46 +0000)]
h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64
am: 2a68d5279d

* commit '2a68d5279d714188c50a32819ae0d0ed2535a763':
  h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I00c30eb03aab08cb86afa34ab3e7a86a176b4dda

8 years agoh264bsdActivateParamSets: Prevent multiplication overflow.
Pawin Vongmasa [Fri, 13 May 2016 19:43:42 +0000 (19:43 +0000)]
h264bsdActivateParamSets: Prevent multiplication overflow.
am: 87277aac64

* commit '87277aac64a21461b657298dcdcb809737347980':
  h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I87166daa0493721d44a10531466b59080b65f153

8 years agoFix security vulnerability in libstagefright
Jeff Tinker [Fri, 13 May 2016 18:48:11 +0000 (11:48 -0700)]
Fix security vulnerability in libstagefright

bug: 28175045
Change-Id: Icee6c7eb5b761da4aa3e412fb71825508d74d38f

8 years agoh264bsdActivateParamSets: Prevent multiplication overflow.
Pawin Vongmasa [Wed, 11 May 2016 23:08:21 +0000 (16:08 -0700)]
h264bsdActivateParamSets: Prevent multiplication overflow.

Report MEMORY_ALLOCATION_ERROR if pStorage->picSizeInMbs would
exceed UINT32_MAX bytes.

Bug: 28532266
Change-Id: Ia6f11efb18818afcdb5fa2a38a14f2a2d8c8447a

8 years agoMerge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f...
Marco Nelissen [Tue, 3 May 2016 23:27:46 +0000 (23:27 +0000)]
Merge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f174e am: 4b817b51e2 am: 2d4cf313fa
am: ef1fcffc98

* commit 'ef1fcffc9808df37f4031ddbf247492c8609559a':
  Clear unused pointer field when sending across binder

Change-Id: I77dcc292f32549bd62869b710d3842853a7528fa

8 years agoMerge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f...
Marco Nelissen [Tue, 3 May 2016 23:25:22 +0000 (23:25 +0000)]
Merge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f174e am: 4b817b51e2
am: 2d4cf313fa

* commit '2d4cf313fa141d11cfae7c31797da114598d8ed7':
  Clear unused pointer field when sending across binder

Change-Id: I0d1569e886ff40a43423cdbf83ed5d04e35f2d07

8 years agoMerge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f174e
Marco Nelissen [Tue, 3 May 2016 23:23:01 +0000 (23:23 +0000)]
Merge "Clear unused pointer field when sending across binder" into klp-dev am: 71095f174e
am: 4b817b51e2

* commit '4b817b51e2998719037f362c7b70ee71c76abeb8':
  Clear unused pointer field when sending across binder

Change-Id: I6d09ecb88cf32f2c720dd0ec66964ec94ad210da

8 years agoMerge "Clear unused pointer field when sending across binder" into klp-dev
Marco Nelissen [Tue, 3 May 2016 23:20:38 +0000 (23:20 +0000)]
Merge "Clear unused pointer field when sending across binder" into klp-dev
am: 71095f174e

* commit '71095f174e8b88e008623b4cacd4ec0581b9015c':
  Clear unused pointer field when sending across binder

Change-Id: I5d6dee2901dca6c63ed41abf5d1165ac85a69d7e

8 years agoMerge "Clear unused pointer field when sending across binder" into klp-dev
Marco Nelissen [Tue, 3 May 2016 23:15:43 +0000 (23:15 +0000)]
Merge "Clear unused pointer field when sending across binder" into klp-dev

8 years agoClear unused pointer field when sending across binder
Marco Nelissen [Mon, 2 May 2016 21:12:34 +0000 (14:12 -0700)]
Clear unused pointer field when sending across binder

Bug: 28377502
Change-Id: Iad5ebfb0a9ef89f09755bb332579dbd3534f9c98

8 years agoMerge "DO NOT MERGE Verify OMX buffer sizes prior to access" into lmp-mr1-dev
Marco Nelissen [Fri, 22 Apr 2016 22:25:47 +0000 (22:25 +0000)]
Merge "DO NOT MERGE Verify OMX buffer sizes prior to access" into lmp-mr1-dev

8 years agoMerge "DO NOT MERGE More OMX struct checking" into lmp-dev
Marco Nelissen [Fri, 22 Apr 2016 19:18:00 +0000 (19:18 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into lmp-dev
am: a3c7788  -s ours

* commit 'a3c7788e822f5f961489bd93ae88c6824c9d3915':
  DO NOT MERGE More OMX struct checking

Change-Id: I3563a97b4eb7a55f005919c4978cd73527327406

8 years agoMerge "DO NOT MERGE More OMX struct checking" into lmp-dev
Marco Nelissen [Fri, 22 Apr 2016 19:01:04 +0000 (19:01 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into lmp-dev

8 years agoMerge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0 am: e25ff01...
Marco Nelissen [Fri, 22 Apr 2016 18:19:32 +0000 (18:19 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0 am: e25ff0130e am: f54f5b54bd  -s ours
am: a79dd03ce6  -s ours

* commit 'a79dd03ce68e9b660a8d70e7389af6aac82ebddb':
  DO NOT MERGE More OMX struct checking

Change-Id: Ia2b23ddbfe4f540d346b6ba0bbb2b93ab5d4c140

8 years agoMerge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0 am: e25ff0130e
Marco Nelissen [Fri, 22 Apr 2016 18:17:18 +0000 (18:17 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0 am: e25ff0130e
am: f54f5b54bd  -s ours

* commit 'f54f5b54bd5bd78e045fbf9dbc6462d0720f1ff6':
  DO NOT MERGE More OMX struct checking

Change-Id: I4c079e3f5ac920005dcbba2af992312fbf35f5bc

8 years agoMerge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0
Marco Nelissen [Fri, 22 Apr 2016 18:15:07 +0000 (18:15 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into klp-dev am: c002126cb0
am: e25ff0130e

* commit 'e25ff0130ef9fa184afb87e92c184172c8a96f71':
  DO NOT MERGE More OMX struct checking

Change-Id: Ia9767e906a247c330031837c3b0b6415e319c836

8 years agoMerge "DO NOT MERGE More OMX struct checking" into klp-dev
Marco Nelissen [Fri, 22 Apr 2016 18:12:58 +0000 (18:12 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into klp-dev
am: c002126cb0

* commit 'c002126cb05b1d640c0a0b51bc0de810a62ab2b1':
  DO NOT MERGE More OMX struct checking

Change-Id: I206ad72ac3ed1da96b417dd9cbe170e0a0dd1d66

8 years agoMerge "DO NOT MERGE More OMX struct checking" into klp-dev
Marco Nelissen [Fri, 22 Apr 2016 17:45:56 +0000 (17:45 +0000)]
Merge "DO NOT MERGE More OMX struct checking" into klp-dev

8 years agoDO NOT MERGE More OMX struct checking
Marco Nelissen [Fri, 22 Apr 2016 14:54:04 +0000 (07:54 -0700)]
DO NOT MERGE More OMX struct checking

These were lost due to bad merges.

Bug: 27207275
Change-Id: Ia0f403d7aef79a8e0ac618eb49b34dbf9faa25c2

8 years agoDO NOT MERGE More OMX struct checking
Marco Nelissen [Fri, 22 Apr 2016 14:55:10 +0000 (07:55 -0700)]
DO NOT MERGE More OMX struct checking

These were lost due to bad merges.

Bug: 27207275
Change-Id: Idc7a9fc75376a88b91e9e259d664d6ee54c77330

8 years agoDO NOT MERGE Verify OMX buffer sizes prior to access
Marco Nelissen [Mon, 29 Feb 2016 20:47:20 +0000 (12:47 -0800)]
DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d

8 years agoSampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d...
Pawin Vongmasa [Thu, 21 Apr 2016 19:01:49 +0000 (19:01 +0000)]
SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d am: a1e309beb9 am: 63e9b57353
am: ef21738066

* commit 'ef21738066caa918b34c57844d3e0f6cebbce86a':
  SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.

Change-Id: I32d931ef1d2ac785f5d5e024786cb54ca833dbf7

8 years agoSampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d...
Pawin Vongmasa [Thu, 21 Apr 2016 18:59:33 +0000 (18:59 +0000)]
SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d am: a1e309beb9
am: 63e9b57353

* commit '63e9b573530837702e42e00900407bbe9fdae952':
  SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.

Change-Id: Idcf74c810152b7160cf99aa25fe664c6b40f0750

8 years agoSampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d
Pawin Vongmasa [Thu, 21 Apr 2016 18:57:16 +0000 (18:57 +0000)]
SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789. am: 70dec4dc7d
am: a1e309beb9

* commit 'a1e309beb98e8fb35422102717af4f973ef1f34b':
  SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.

Change-Id: I1dd3ffd9a489453d0f66c0344f52c6efecf31b2e

8 years agoSampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.
Pawin Vongmasa [Thu, 21 Apr 2016 18:55:02 +0000 (18:55 +0000)]
SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.
am: 70dec4dc7d

* commit '70dec4dc7d1d813afaff58fb26b0fd7127e897bf':
  SampleTable.cpp: Fixed a regression caused by a fix for bug 28076789.

Change-Id: Ie3a265ed0dc34c544b0793dce06434ec64f9bacf

8 years agoSampleTable.cpp: Fixed a regression caused by a fix for bug
Pawin Vongmasa [Wed, 20 Apr 2016 22:51:48 +0000 (15:51 -0700)]
SampleTable.cpp: Fixed a regression caused by a fix for bug
28076789.

Detail: Before the original fix
(Id207f369ab7b27787d83f5d8fc48dc53ed9fcdc9) for 28076789, the
code allowed a time-to-sample table size to be 0. The change
made in that fix disallowed such situation, which in fact should
be allowed. This current patch allows it again while maintaining
the security of the previous fix.

Bug: 28288202
Bug: 28076789
Change-Id: I1c9a60c7f0cfcbd3d908f24998dde15d5136a295

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 05:07:23 +0000 (05:07 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into klp-dev am: 7cab953 am: f249b0f am: 9345299  -s ours
am: cbc0d3a  -s ours

* commit 'cbc0d3ac143082dffaaf03b317b012590abbfbbb':
  DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Change-Id: Idae0950623cf27c2344d95754402c3cdbb9261ed

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 05:01:48 +0000 (05:01 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into klp-dev am: 7cab953 am: f249b0f
am: 9345299  -s ours

* commit '9345299e27e68b524c4b606d178802a4e7289aa1':
  DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Change-Id: I50f3feb751614bf8ef8f7e0c3214ef9d1c0632f9

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 04:56:57 +0000 (04:56 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into klp-dev am: 7cab953
am: f249b0f

* commit 'f249b0fe1d2602d07da8bfeb64bc64518a0ec46a':
  DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Change-Id: I87ec36dcfaccae4fa8d7cb247651704c7ef0e4d3

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 04:52:07 +0000 (04:52 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into klp-dev
am: 7cab953

* commit '7cab953629b615cfe5fec8f56266996bc17307b5':
  DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Change-Id: Icbd07fb9f62bb4f1381f6573188d32c8f126dc90

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 04:52:07 +0000 (04:52 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into lmp-dev
am: 406a06f  -s ours

* commit '406a06f89815e7a4dca2d9d4d0828f1516c4e20d':
  DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Change-Id: Ic5235fe0ede890af7e0a967ef05e48e5879c486a

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 04:40:03 +0000 (04:40 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into lmp-dev

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into...
Wonsik Kim [Mon, 18 Apr 2016 04:39:54 +0000 (04:39 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec" into klp-dev

8 years agoMerge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory...
Pawin Vongmasa [Sat, 16 Apr 2016 00:13:47 +0000 (00:13 +0000)]
Merge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation." into klp-dev am: 5964527 am: e896c41 am: a0970c9
am: ab72763

* commit 'ab7276351e41bc0d40d28c231993ba240b5f21a0':
  SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation.

Change-Id: I3dc4066c53dfeb3fc07ee31431ee5a5571c89528

8 years agoMerge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory...
Pawin Vongmasa [Sat, 16 Apr 2016 00:11:25 +0000 (00:11 +0000)]
Merge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation." into klp-dev am: 5964527 am: e896c41
am: a0970c9

* commit 'a0970c9faabdaca647cb22b78432511de3220399':
  SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation.

Change-Id: I7d7e410e25d8a5b1066251cae8cddfa050b07f71

8 years agoMerge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory...
Pawin Vongmasa [Sat, 16 Apr 2016 00:09:00 +0000 (00:09 +0000)]
Merge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation." into klp-dev am: 5964527
am: e896c41

* commit 'e896c41d85a15de06c74885fe040f3f57b63cd5d':
  SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation.

Change-Id: I5f23c14d155ea5a64b00d877a329c77cfc5b55f7

8 years agoMerge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory...
Pawin Vongmasa [Sat, 16 Apr 2016 00:06:36 +0000 (00:06 +0000)]
Merge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation." into klp-dev
am: 5964527

* commit '59645279f48b3ae83ab42445148ea236c5dc72c4':
  SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation.

Change-Id: I37ea7cd16f1e0fcf2ce14d6687de080a7c0931c1

8 years agoMerge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory...
Pawin Vongmasa [Sat, 16 Apr 2016 00:01:22 +0000 (00:01 +0000)]
Merge "SampleTable.cpp: Prevent corrupted stts block from causing excessive memory allocation." into klp-dev

8 years agoSampleTable.cpp: Prevent corrupted stts block from causing
Pawin Vongmasa [Wed, 13 Apr 2016 23:25:12 +0000 (16:25 -0700)]
SampleTable.cpp: Prevent corrupted stts block from causing
excessive memory allocation.

Details:

DataSource.h
- Added function getVector() for reading from a data source into
  a Vector object, whose capacity grows only as much as needed
  (in case of EOS or reading error).
SampleTable.h
- Changed the type of mTimeToSample from uint32_t* to
  Vector<uint32_t>.
SampleTable.cpp
- In setTimeToSample, modified the code to use getVector()
  instead of readAt(). If the input source has a corrupt
  time-to-sample table size that is too big, EOS will be reached
  before the whole table is read, and the return value from
  getVector() will be false.
- Also, tightened the bound for the provided time-to-sample table
  size to guarantee that the table does not take more than
  UINT_MAX32 bytes in memory.

Bug: 28076789
Change-Id: Id207f369ab7b27787d83f5d8fc48dc53ed9fcdc9

8 years agoh264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c6...
Marco Nelissen [Wed, 13 Apr 2016 22:33:28 +0000 (22:33 +0000)]
h264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68 am: 9f3762d
am: 76f606b

* commit '76f606bdf9d52a4406dc285e06a0f15b13903bac':
  h264dec: check for overflows when calculating allocation size.

Change-Id: I1ae828ed17ca9df7b3097cdb1acaf06e0202321d

8 years agoh264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68
Marco Nelissen [Wed, 13 Apr 2016 22:25:40 +0000 (22:25 +0000)]
h264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68
am: 9f3762d

* commit '9f3762d8c76b778c8f600486a464838731105b09':
  h264dec: check for overflows when calculating allocation size.

Change-Id: Iefdde609316ffa6fb9037f24d3865980633cd4b9

8 years agoh264dec: check for overflows when calculating allocation size. am: a3dd713
Marco Nelissen [Wed, 13 Apr 2016 22:21:11 +0000 (22:21 +0000)]
h264dec: check for overflows when calculating allocation size. am: a3dd713
am: d504c68

* commit 'd504c68310bf86e24321a7260c2ecdd9962c8b3b':
  h264dec: check for overflows when calculating allocation size.

Change-Id: Iabbe0fcaf14241d1aa01184c61f1ecb134c16fe8

8 years agoh264dec: check for overflows when calculating allocation size.
Marco Nelissen [Wed, 13 Apr 2016 22:17:37 +0000 (22:17 +0000)]
h264dec: check for overflows when calculating allocation size.
am: a3dd713

* commit 'a3dd713893658baf50df88b261aba83bb0c40687':
  h264dec: check for overflows when calculating allocation size.

Change-Id: Ie1acdd0ddaddce72f9072abf288db29ab3d75fc1

8 years agoh264dec: check for overflows when calculating allocation size.
Marco Nelissen [Fri, 8 Apr 2016 17:04:48 +0000 (10:04 -0700)]
h264dec: check for overflows when calculating allocation size.

Bug: 27855419
Change-Id: Idabedca52913ec31ea5cb6a6109ab94e3fb2badd

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp...
Wonsik Kim [Fri, 8 Apr 2016 01:25:24 +0000 (01:25 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev am: 52636f8 am: 9f83485 am: eedc29f  -s ours
am: 040d973  -s ours

* commit '040d9735704860a5e0d2981b5573dca05054e0d5':
  DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec

Change-Id: I96a07ec29391a8a8c9a9bcc71e607be9a46d3f6a

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into...
Wonsik Kim [Fri, 8 Apr 2016 01:25:24 +0000 (01:25 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into klp-dev am: f81eab3 am: eec4dd5 am: d3e0de0  -s ours
am: 525822a  -s ours

* commit '525822a7bc8b33e05c0e87d223f62c4b2d6e2378':
  DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: Ieac966841536c47c013a0e7647e944c7891dc9bb

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp...
Wonsik Kim [Fri, 8 Apr 2016 01:21:00 +0000 (01:21 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev am: 52636f8 am: 9f83485
am: eedc29f  -s ours

* commit 'eedc29f89632a98ada144ed149550c172d8094e0':
  DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec

Change-Id: I3390e470da8952969f6347176f885bf112074d46

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into...
Wonsik Kim [Fri, 8 Apr 2016 01:21:00 +0000 (01:21 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into klp-dev am: f81eab3 am: eec4dd5
am: d3e0de0  -s ours

* commit 'd3e0de0d55027eeb2744d464a6ad0cdb7d47f826':
  DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: I0a9e8410a11b4139298371c04ce7f161f3dce158

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp...
Wonsik Kim [Fri, 8 Apr 2016 01:17:12 +0000 (01:17 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev am: 52636f8
am: 9f83485

* commit '9f834853a28d20ee9b218b0c8e68ff38b48f5743':
  DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec

Change-Id: I6cd36d4986fb6c96b7e01d9cdff3e7cd77f0f951

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into...
Wonsik Kim [Fri, 8 Apr 2016 01:17:11 +0000 (01:17 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into klp-dev am: f81eab3
am: eec4dd5

* commit 'eec4dd5f859d6e8d0d77f03c1ad27ba720bf2e04':
  DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: I85cbc2e7d30332bf163599b36a518387796658c6

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec...
Wonsik Kim [Fri, 8 Apr 2016 01:14:17 +0000 (01:14 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec" into lmp-dev
am: 7e217db  -s ours

* commit '7e217db163197b9a72f9147a57c3bc635896d382':
  DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec

Change-Id: I7e139bc9a5de529208cd4a31b77500e699b453a3

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in hevcdec" into lmp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:14:16 +0000 (01:14 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in hevcdec" into lmp-dev
am: 316be4c  -s ours

* commit '316be4cf419f083ffc5ba7e2feb93ca5dc71f0d7':
  DO NOT MERGE codecs: check OMX buffer size before use in hevcdec

Change-Id: I59c825a744a6d42e27e191f7d8863247928c98d7

8 years agoMerge "codecs: check OMX buffer size before use in (h263|h264)dec" into lmp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:14:16 +0000 (01:14 +0000)]
Merge "codecs: check OMX buffer size before use in (h263|h264)dec" into lmp-dev
am: c3cd9ea

* commit 'c3cd9ea24d2eef42881f948f5b0278c6cd9023bb':
  codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: I93a3b15a6a7804502638b484bb6b45790cd374fc

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:13:27 +0000 (01:13 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev
am: 52636f8

* commit '52636f8462b2a24f77524ca912e3579c33ac113e':
  DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec

Change-Id: I63431cdcbe2903ca51b43ce4cddc13a0c62f6bae

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into...
Wonsik Kim [Fri, 8 Apr 2016 01:13:26 +0000 (01:13 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into klp-dev
am: f81eab3

* commit 'f81eab31874a6cf40e1f265b0c47cbe6b137d407':
  DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: Ie9c95c1847cc3e2a1a9ef3aeafbeb0aedf262a42

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:05:03 +0000 (01:05 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec" into klp-dev

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec...
Wonsik Kim [Fri, 8 Apr 2016 01:04:52 +0000 (01:04 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec" into lmp-dev

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in hevcdec" into lmp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:04:20 +0000 (01:04 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in hevcdec" into lmp-dev

8 years agoMerge "codecs: check OMX buffer size before use in (h263|h264)dec" into lmp-dev
Wonsik Kim [Fri, 8 Apr 2016 01:04:05 +0000 (01:04 +0000)]
Merge "codecs: check OMX buffer size before use in (h263|h264)dec" into lmp-dev

8 years agoMerge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into...
Wonsik Kim [Fri, 8 Apr 2016 01:03:55 +0000 (01:03 +0000)]
Merge "DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec" into klp-dev

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec
Wonsik Kim [Thu, 7 Apr 2016 08:45:02 +0000 (17:45 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Bug: 27793163
Bug: 27793367
Change-Id: Iec3de8a237ee2379d87a8371c13e543878c6652c

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec
Wonsik Kim [Thu, 7 Apr 2016 08:45:02 +0000 (17:45 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in (gsm|g711)dec

Bug: 27793163
Bug: 27793367
Change-Id: Iec3de8a237ee2379d87a8371c13e543878c6652c

8 years agoMerge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752
Marco Nelissen [Thu, 7 Apr 2016 21:41:05 +0000 (21:41 +0000)]
Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752
am: 2a05d85

* commit '2a05d85b98361d4e1f24fbb2ae19873ce7db6db4':
  Check mp3 output buffer size

Change-Id: Ia0d6f0d0e0458cb341c1ae546c2c6951d4db8a72

8 years agoMerge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399
Marco Nelissen [Thu, 7 Apr 2016 21:37:36 +0000 (21:37 +0000)]
Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399
am: a70a752

* commit 'a70a752e110d436c24195037e3ade612fe2d15bd':
  Check mp3 output buffer size

Change-Id: Ic909905135d8871ebbef12515b69761bf3e42452

8 years agoMerge "Check mp3 output buffer size" into klp-dev am: bc736f6
Marco Nelissen [Thu, 7 Apr 2016 21:34:42 +0000 (21:34 +0000)]
Merge "Check mp3 output buffer size" into klp-dev am: bc736f6
am: 44ef399

* commit '44ef399573ddf6be54f4ab1c049a9d022a44bb60':
  Check mp3 output buffer size

Change-Id: Ie3514d66b68a9add1e4c24b940f41df9cf31fb6e

8 years agoMerge "Check mp3 output buffer size" into klp-dev
Marco Nelissen [Thu, 7 Apr 2016 21:30:22 +0000 (21:30 +0000)]
Merge "Check mp3 output buffer size" into klp-dev
am: bc736f6

* commit 'bc736f650daeacce241c1f1e9c1b3ac28b5befe1':
  Check mp3 output buffer size

Change-Id: Iecf266fb05e72b245db1acf3bdc380c771ccabf8

8 years agoMerge "Check mp3 output buffer size" into klp-dev
Marco Nelissen [Thu, 7 Apr 2016 21:24:52 +0000 (21:24 +0000)]
Merge "Check mp3 output buffer size" into klp-dev

8 years agoAudioSource: initialize variables am: a2f5b80 am: 67e0eb7 am: 9c67287
Marco Nelissen [Thu, 7 Apr 2016 20:39:07 +0000 (20:39 +0000)]
AudioSource: initialize variables am: a2f5b80 am: 67e0eb7 am: 9c67287
am: 211ec4d

* commit '211ec4d5a50b9833accc1885a19e9811cf9c59bf':
  AudioSource: initialize variables

Change-Id: Id2246823e62161f86d5fe4d490d09e7ac1d6acca

8 years agoAudioSource: initialize variables am: a2f5b80 am: 67e0eb7
Marco Nelissen [Thu, 7 Apr 2016 20:35:40 +0000 (20:35 +0000)]
AudioSource: initialize variables am: a2f5b80 am: 67e0eb7
am: 9c67287

* commit '9c67287c64a8535b86aa4a46ca4fdbc9859b40b5':
  AudioSource: initialize variables

Change-Id: I55e1d069317e6a0e9da0ff8babead6d0248287dd

8 years agoAudioSource: initialize variables am: a2f5b80
Marco Nelissen [Thu, 7 Apr 2016 20:32:12 +0000 (20:32 +0000)]
AudioSource: initialize variables am: a2f5b80
am: 67e0eb7

* commit '67e0eb763d50b7811176f97553934dcc8dca4328':
  AudioSource: initialize variables

Change-Id: Ia3456efeff3fa722b93510a2428ec88e86394bce

8 years agoAudioSource: initialize variables
Marco Nelissen [Thu, 7 Apr 2016 20:28:42 +0000 (20:28 +0000)]
AudioSource: initialize variables
am: a2f5b80

* commit 'a2f5b80a54ac3cd0f7dcfbb4d87eaf2f5ab99557':
  AudioSource: initialize variables

Change-Id: I8038fc4d98c868070139d8d26832cbc32af7144a

8 years agoAudioSource: initialize variables
Marco Nelissen [Tue, 5 Apr 2016 21:20:11 +0000 (14:20 -0700)]
AudioSource: initialize variables

to prevent info leak

Bug: 27855172
Change-Id: I3d33e0a9cc5cf8a758d7b0794590b09c43a24561

8 years agoCheck mp3 output buffer size
Marco Nelissen [Wed, 23 Mar 2016 22:36:36 +0000 (15:36 -0700)]
Check mp3 output buffer size

Bug: 27793371
Change-Id: I0fe40a4cfd0a5b488f93d3f3ba6f9495235926ac

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec
Wonsik Kim [Sun, 20 Mar 2016 01:44:44 +0000 (10:44 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in (h263|h264)dec

Bug: 27833616
Change-Id: I0fd599b3da431425d89236ffdd9df423c11947c0

8 years agocodecs: check OMX buffer size before use in (h263|h264)dec
Wonsik Kim [Sun, 20 Mar 2016 01:44:44 +0000 (10:44 +0900)]
codecs: check OMX buffer size before use in (h263|h264)dec

Bug: 27833616
Change-Id: I0fd599b3da431425d89236ffdd9df423c11947c0

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in hevcdec
Wonsik Kim [Sun, 20 Mar 2016 01:44:44 +0000 (10:44 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in hevcdec

Bug: 27833616
Change-Id: Ic4045a3f56f53b08d0b1264b2a91b8f43e91b738

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec
Wonsik Kim [Wed, 30 Mar 2016 08:13:00 +0000 (17:13 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)dec

Bug: 27833616
Change-Id: I1ccdd16a00741da072527a6d13e87fd7c7fe8c54

8 years agoDO NOT MERGE codecs: check OMX buffer size before use in vorbisdec
Wonsik Kim [Wed, 30 Mar 2016 08:13:00 +0000 (17:13 +0900)]
DO NOT MERGE codecs: check OMX buffer size before use in vorbisdec

Bug: 27833616
Change-Id: I1ccdd16a00741da072527a6d13e87fd7c7fe8c54

8 years agoMerge "SampleTable: reduce unnecessary logging message." into klp-dev am: f305afb...
Wei Jia [Fri, 25 Mar 2016 21:37:24 +0000 (21:37 +0000)]
Merge "SampleTable: reduce unnecessary logging message." into klp-dev am: f305afb am: e678675
am: 9574bfe

* commit '9574bfe117ca6d173c780afa187dfd9dbfc15611':
  SampleTable: reduce unnecessary logging message.

8 years agoMerge "SampleTable: reduce unnecessary logging message." into klp-dev am: f305afb
Wei Jia [Fri, 25 Mar 2016 21:34:50 +0000 (21:34 +0000)]
Merge "SampleTable: reduce unnecessary logging message." into klp-dev am: f305afb
am: e678675

* commit 'e678675e63e927d6b16123d40981c3a36e95d0b0':
  SampleTable: reduce unnecessary logging message.

8 years agoMerge "SampleTable: reduce unnecessary logging message." into klp-dev
Wei Jia [Fri, 25 Mar 2016 21:32:13 +0000 (21:32 +0000)]
Merge "SampleTable: reduce unnecessary logging message." into klp-dev
am: f305afb

* commit 'f305afb6eeeebd066f34c2b2c514bd4342182200':
  SampleTable: reduce unnecessary logging message.

8 years agoMerge "SampleTable: reduce unnecessary logging message." into klp-dev
Wei Jia [Fri, 25 Mar 2016 21:22:40 +0000 (21:22 +0000)]
Merge "SampleTable: reduce unnecessary logging message." into klp-dev

8 years agoFix AMR decoder am: d061b5b am: 988aae8
Marco Nelissen [Fri, 25 Mar 2016 17:29:08 +0000 (17:29 +0000)]
Fix AMR decoder am: d061b5b am: 988aae8
am: f36a731

* commit 'f36a731ada0f914a0a6724c58d0d4f71cbde6766':
  Fix AMR decoder

8 years agoFix AMR decoder am: d061b5b
Marco Nelissen [Fri, 25 Mar 2016 17:23:28 +0000 (17:23 +0000)]
Fix AMR decoder am: d061b5b
am: 988aae8

* commit '988aae8467be145c0513b8f5abb0f76f87112492':
  Fix AMR decoder