OSDN Git Service

android-x86/frameworks-av.git
9 years agoam 8d60fc3e: am 338bbf53: am fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix...
Joshua J. Drake [Fri, 7 Aug 2015 16:11:05 +0000 (16:11 +0000)]
am 8d60fc3e: am 338bbf53: am fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit '8d60fc3e3ecd4d7c2b18f25962f0ea42f3644ebd':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoresolved conflicts for merge of 0b3eca88 to jb-mr1-dev-plus-aosp
Nick Kralevich [Fri, 7 Aug 2015 15:50:46 +0000 (08:50 -0700)]
resolved conflicts for merge of 0b3eca88 to jb-mr1-dev-plus-aosp

Bug: 20923261
Change-Id: I6fe12a7c5768f77454bd0391b07f4c3181607d14

9 years agoam 338bbf53: am fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow...
Joshua J. Drake [Tue, 4 Aug 2015 21:42:34 +0000 (21:42 +0000)]
am 338bbf53: am fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit '338bbf53be077a99f532e813d4cf14a192c55f74':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoam cd5cf679: am df1ecfe3: am 52d1defc: am 9481a101: am a81b3779: Prevent integer...
Joshua J. Drake [Tue, 4 Aug 2015 21:42:33 +0000 (21:42 +0000)]
am cd5cf679: am df1ecfe3: am 52d1defc: am 9481a101: am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms

* commit 'cd5cf6797c26ca7d3ce2f9a379bdef099dae2aae':
  Prevent integer overflow when processing covr MPEG4 atoms

9 years agoam fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handlin...
Joshua J. Drake [Tue, 4 Aug 2015 21:37:00 +0000 (21:37 +0000)]
am fd334e34: am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit 'fd334e346bd0fc9b11756539d1635eabdb6b04cb':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoam df1ecfe3: am 52d1defc: am 9481a101: am a81b3779: Prevent integer overflow when...
Joshua J. Drake [Tue, 4 Aug 2015 21:36:59 +0000 (21:36 +0000)]
am df1ecfe3: am 52d1defc: am 9481a101: am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms

* commit 'df1ecfe3913b9c3bce17947d877498093a42a56f':
  Prevent integer overflow when processing covr MPEG4 atoms

9 years agoam 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g...
Joshua J. Drake [Tue, 4 Aug 2015 21:31:40 +0000 (21:31 +0000)]
am 03d539a7: am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit '03d539a7a9c8ae7aef9cb8bda9042187327566a2':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoam 52d1defc: am 9481a101: am a81b3779: Prevent integer overflow when processing covr...
Joshua J. Drake [Tue, 4 Aug 2015 21:31:38 +0000 (21:31 +0000)]
am 52d1defc: am 9481a101: am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms

* commit '52d1defcfe51bd3b5f4e191fb70a0a0a406c33dc':
  Prevent integer overflow when processing covr MPEG4 atoms

9 years agoam a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom
Joshua J. Drake [Tue, 4 Aug 2015 21:25:40 +0000 (21:25 +0000)]
am a5b9055d: am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit 'a5b9055d7ce1d82ee29ed2f45aa4f8a82ccc76f2':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoam 9481a101: am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms
Joshua J. Drake [Tue, 4 Aug 2015 21:25:38 +0000 (21:25 +0000)]
am 9481a101: am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms

* commit '9481a101f8246263d969af66a7b39fad7346772e':
  Prevent integer overflow when processing covr MPEG4 atoms

9 years agoam f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom
Joshua J. Drake [Tue, 4 Aug 2015 21:18:32 +0000 (21:18 +0000)]
am f1ce97dd: Fix integer overflow when handling MPEG4 tx3g atom

* commit 'f1ce97ddc2f82d844a6fb8341585eb7b2e655f44':
  Fix integer overflow when handling MPEG4 tx3g atom

9 years agoam a81b3779: Prevent integer overflow when processing covr MPEG4 atoms
Joshua J. Drake [Tue, 4 Aug 2015 21:18:30 +0000 (21:18 +0000)]
am a81b3779: Prevent integer overflow when processing covr MPEG4 atoms

* commit 'a81b3779cc6f6046c8a9149bf544e9d726c9b2b2':
  Prevent integer overflow when processing covr MPEG4 atoms

9 years agoFix integer overflow when handling MPEG4 tx3g atom
Joshua J. Drake [Mon, 4 May 2015 23:29:08 +0000 (18:29 -0500)]
Fix integer overflow when handling MPEG4 tx3g atom

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
(cherry picked from commit e5f0966c76bd0a7e81e4205c8d8b55e6b34c833e)

Change-Id: I3f240f75fd681becbf89cb7e7554388471c28059

9 years agoPrevent integer overflow when processing covr MPEG4 atoms
Joshua J. Drake [Mon, 4 May 2015 23:36:35 +0000 (18:36 -0500)]
Prevent integer overflow when processing covr MPEG4 atoms

If the 'chunk_data_size' value is SIZE_MAX, an integer overflow will occur
and cause an undersized buffer to be allocated. The following processing
then overfills the resulting memory and creates a potentially exploitable
condition. Ensure that integer overflow does not occur.

(cherrypicked from commit 05ddc499b9d50c90f552ed1333110f28a1406e7c)

Bug: 20923261
Change-Id: If09a02738759acdff8d95149bb9cb5f18a0a123e

9 years agoam 8ec119d2: am d138024f: am b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleT...
Wei Jia [Tue, 4 Aug 2015 17:20:14 +0000 (17:20 +0000)]
am 8ec119d2: am d138024f: am b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.

* commit '8ec119d2f033221e4cb0fd2b2948e780581b3d35':
  SampleTable: fix integer overflow checks.

9 years agoam d138024f: am b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix...
Wei Jia [Tue, 4 Aug 2015 17:09:44 +0000 (17:09 +0000)]
am d138024f: am b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.

* commit 'd138024f94fe01934be700ce16aa84418fbe1827':
  SampleTable: fix integer overflow checks.

9 years agoam b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow...
Wei Jia [Tue, 4 Aug 2015 16:59:31 +0000 (16:59 +0000)]
am b32957db: am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.

* commit 'b32957dbf4527251ad3b2bbda4ccc5fff4df0718':
  SampleTable: fix integer overflow checks.

9 years agoam a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.
Wei Jia [Tue, 4 Aug 2015 16:54:23 +0000 (16:54 +0000)]
am a9d7c917: am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.

* commit 'a9d7c917d3a76d0bef9b8afe7ade206534be68a4':
  SampleTable: fix integer overflow checks.

9 years agoam a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.
Wei Jia [Tue, 4 Aug 2015 16:47:48 +0000 (16:47 +0000)]
am a99d3d83: am 738a753a: SampleTable: fix integer overflow checks.

* commit 'a99d3d8327d60c8f8ef3e34fc4b81ef382e9e6d2':
  SampleTable: fix integer overflow checks.

9 years agoam 738a753a: SampleTable: fix integer overflow checks.
Wei Jia [Tue, 4 Aug 2015 16:40:31 +0000 (16:40 +0000)]
am 738a753a: SampleTable: fix integer overflow checks.

* commit '738a753a3ca7bf8f9f608ca941575626265294e4':
  SampleTable: fix integer overflow checks.

9 years agoSampleTable: fix integer overflow checks.
Wei Jia [Thu, 4 Jun 2015 17:40:23 +0000 (10:40 -0700)]
SampleTable: fix integer overflow checks.

Bug: 20139950
Bug: 22935234
(cherry picked from commit a105482ae577852ffd08ce88ae5d1ba81db875ac)

Change-Id: I408d261de1a6dd5c4343bcf3a7dfd8a259e0e2f3

9 years agoam d1c08d6b: am efa73c2e: am 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix...
Joshua J. Drake [Tue, 4 Aug 2015 03:25:53 +0000 (03:25 +0000)]
am d1c08d6b: am efa73c2e: am 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing

* commit 'd1c08d6bff6d1936cf0e9cbfa5054128f5280ef3':
  Fix integer underflow in ESDS processing

9 years agoam e10c2e62: am 74ebcd65: am 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix...
Joshua J. Drake [Tue, 4 Aug 2015 03:25:52 +0000 (03:25 +0000)]
am e10c2e62: am 74ebcd65: am 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit 'e10c2e621a0a49618c9d69a7dd09400c23464ced':
  Fix integer overflow during MP4 atom processing

9 years agoam 36617c67: am 7374360f: am 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix...
Joshua J. Drake [Tue, 4 Aug 2015 03:25:51 +0000 (03:25 +0000)]
am 36617c67: am 7374360f: am 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '36617c67a9c29d7f9798972b6514086b22b731f8':
  Fix several ineffective integer overflow checks

9 years agoam efa73c2e: am 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflo...
Joshua J. Drake [Tue, 4 Aug 2015 03:15:46 +0000 (03:15 +0000)]
am efa73c2e: am 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing

* commit 'efa73c2e5f5a4eb7c420b5920e00de5a69f525af':
  Fix integer underflow in ESDS processing

9 years agoam 74ebcd65: am 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow...
Joshua J. Drake [Tue, 4 Aug 2015 03:15:45 +0000 (03:15 +0000)]
am 74ebcd65: am 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit '74ebcd65d1833879944a496739da6983b1d18235':
  Fix integer overflow during MP4 atom processing

9 years agoam 7374360f: am 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffect...
Joshua J. Drake [Tue, 4 Aug 2015 03:15:44 +0000 (03:15 +0000)]
am 7374360f: am 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '7374360f60999bfeabe0fb24e985073b7d8f47e8':
  Fix several ineffective integer overflow checks

9 years agoam 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS...
Joshua J. Drake [Tue, 4 Aug 2015 03:03:53 +0000 (03:03 +0000)]
am 2e24d091: am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing

* commit '2e24d0911ee585cbd447efe6150bafaaf8f9ef66':
  Fix integer underflow in ESDS processing

9 years agoam 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4...
Joshua J. Drake [Tue, 4 Aug 2015 03:03:52 +0000 (03:03 +0000)]
am 272f4056: am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit '272f4056162e119db61fb304b01f0152c07b8e02':
  Fix integer overflow during MP4 atom processing

9 years agoam 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer...
Joshua J. Drake [Tue, 4 Aug 2015 03:03:51 +0000 (03:03 +0000)]
am 4e44b2ee: am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '4e44b2ee286bd993210aa81ad20ebbf1d1a816c6':
  Fix several ineffective integer overflow checks

9 years agoam a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing
Joshua J. Drake [Tue, 4 Aug 2015 02:56:01 +0000 (02:56 +0000)]
am a59d5e66: am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing

* commit 'a59d5e6692d0b0dc0924144f596d09e7dd2b193c':
  Fix integer underflow in ESDS processing

9 years agoam 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing
Joshua J. Drake [Tue, 4 Aug 2015 02:55:59 +0000 (02:55 +0000)]
am 52302d91: am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit '52302d917b06b11625b9de686153d1e2520f42cd':
  Fix integer overflow during MP4 atom processing

9 years agoam 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks
Joshua J. Drake [Tue, 4 Aug 2015 02:55:56 +0000 (02:55 +0000)]
am 4534ec1a: am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '4534ec1a552c125ef7eea0990a84fcefb58335b9':
  Fix several ineffective integer overflow checks

9 years agoam 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing
Joshua J. Drake [Tue, 4 Aug 2015 02:50:52 +0000 (02:50 +0000)]
am 8ef5da3d: am 4dd7cb69: Fix integer underflow in ESDS processing

* commit '8ef5da3ddddd1bb4356d9cc6df4d52ad8afc4459':
  Fix integer underflow in ESDS processing

9 years agoam f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing
Joshua J. Drake [Tue, 4 Aug 2015 02:50:51 +0000 (02:50 +0000)]
am f354c48e: am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit 'f354c48e386d1405d67882c382e26e3e4598e797':
  Fix integer overflow during MP4 atom processing

9 years agoam 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks
Joshua J. Drake [Tue, 4 Aug 2015 02:50:45 +0000 (02:50 +0000)]
am 4a5fbf74: am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '4a5fbf74b493eb293918c41a5b5f60dd7b8ebb58':
  Fix several ineffective integer overflow checks

9 years agoam 4dd7cb69: Fix integer underflow in ESDS processing
Joshua J. Drake [Tue, 4 Aug 2015 02:41:32 +0000 (02:41 +0000)]
am 4dd7cb69: Fix integer underflow in ESDS processing

* commit '4dd7cb699f49b56f94a32080fdac7f0ec8237ff4':
  Fix integer underflow in ESDS processing

9 years agoam 5c4428f6: Fix integer overflow during MP4 atom processing
Joshua J. Drake [Tue, 4 Aug 2015 02:41:31 +0000 (02:41 +0000)]
am 5c4428f6: Fix integer overflow during MP4 atom processing

* commit '5c4428f6391478ae983e1fcf7c42c832aa1a5e69':
  Fix integer overflow during MP4 atom processing

9 years agoam 3cc11bfc: Fix several ineffective integer overflow checks
Joshua J. Drake [Tue, 4 Aug 2015 02:41:30 +0000 (02:41 +0000)]
am 3cc11bfc: Fix several ineffective integer overflow checks

* commit '3cc11bfc00cbb3ed87a4464777a75606b4973b51':
  Fix several ineffective integer overflow checks

9 years agoFix integer underflow in ESDS processing
Joshua J. Drake [Thu, 9 Apr 2015 04:53:10 +0000 (23:53 -0500)]
Fix integer underflow in ESDS processing

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
Change-Id: I0d1b136ce68fd7c6f606ce66714bf644cfb2961c
(cherry picked from commit 07c0f59d6c48874982d2b5c713487612e5af465a)

9 years agoFix integer overflow during MP4 atom processing
Joshua J. Drake [Thu, 9 Apr 2015 04:44:57 +0000 (23:44 -0500)]
Fix integer overflow during MP4 atom processing

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
Change-Id: I1972cc185fce5e058afa143ad5eabcc269ad324d
(cherry picked from commit c24607c29c96f939aed9e33bfa702b1dd79da4b7)

9 years agoFix several ineffective integer overflow checks
Joshua J. Drake [Thu, 9 Apr 2015 04:23:55 +0000 (23:23 -0500)]
Fix several ineffective integer overflow checks

Commit edd4a76 (which addressed bugs 153287081534261515342751) 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
Change-Id: Ieb29a170edb805c722fc5658935f2390003e5260
(cherry picked from commit e2e812e58e8d2716b00d7d82db99b08d3afb4b32)

9 years agoam 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio...
Eric Laurent [Thu, 30 Oct 2014 23:48:47 +0000 (23:48 +0000)]
am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls.

* commit '70c3507d915baaa5a0ab163eeb0a445030f4f492':
  audio policy: validate stream type received from binder calls.

9 years agoam 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: valida...
Eric Laurent [Thu, 30 Oct 2014 23:41:08 +0000 (23:41 +0000)]
am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls.

* commit '450b10c97514411ef1d0d887d4e18851fd286f0b':
  audio policy: validate stream type received from binder calls.

9 years agoam d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream...
Eric Laurent [Thu, 30 Oct 2014 23:25:15 +0000 (23:25 +0000)]
am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls.

* commit 'd0f9dc7156e531d5cd0615f6e682d2449e08e9a7':
  audio policy: validate stream type received from binder calls.

9 years agoam e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received...
Eric Laurent [Thu, 30 Oct 2014 23:01:01 +0000 (23:01 +0000)]
am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls.

* commit 'e0a65f3008ac5874106b21d03e19296c8015da41':
  audio policy: validate stream type received from binder calls.

9 years agoam f5af3a72: am 6d80b687: audio policy: validate stream type received from binder...
Eric Laurent [Thu, 30 Oct 2014 22:52:48 +0000 (22:52 +0000)]
am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls.

* commit 'f5af3a72f308cd4dff7859e62922ee5a13bd4c15':
  audio policy: validate stream type received from binder calls.

9 years agoam 6d80b687: audio policy: validate stream type received from binder calls.
Eric Laurent [Thu, 30 Oct 2014 22:44:00 +0000 (22:44 +0000)]
am 6d80b687: audio policy: validate stream type received from binder calls.

* commit '6d80b687c3b8d9c8da7cdad7d9813aa51c1cf15e':
  audio policy: validate stream type received from binder calls.

9 years agoaudio policy: validate stream type received from binder calls.
Eric Laurent [Thu, 30 Oct 2014 21:46:18 +0000 (14:46 -0700)]
audio policy: validate stream type received from binder calls.

Bug: 18001784.
Bug: 18002005.
Change-Id: If08866a3c21bcbfd8cdbbf8336bcf1faad66f321

9 years agoam ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleT...
Robert Shih [Wed, 10 Sep 2014 20:19:54 +0000 (20:19 +0000)]
am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit 'ab0b3212e0c15132f2dab2beeb39c47d31bb1dab':
  SampleTable: check integer overflow during table alloc

9 years agoam 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check...
Robert Shih [Wed, 10 Sep 2014 20:09:14 +0000 (20:09 +0000)]
am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '9b51a37fa8ad9d28be791213ceba4fcbec52b14d':
  SampleTable: check integer overflow during table alloc

9 years agoam cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overfl...
Robert Shih [Wed, 10 Sep 2014 19:58:37 +0000 (19:58 +0000)]
am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit 'cb5dc219b78e6eeacb7ee2f5c93e6763db677122':
  SampleTable: check integer overflow during table alloc

9 years agoam 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during...
Robert Shih [Wed, 10 Sep 2014 19:47:42 +0000 (19:47 +0000)]
am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '74abb1ae32fbd3fa4112cc8b8d53882777feb191':
  SampleTable: check integer overflow during table alloc

9 years agoam 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc
Robert Shih [Wed, 10 Sep 2014 19:41:45 +0000 (19:41 +0000)]
am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '482b18bbfd6c9214157bfab47feae86df48a7178':
  SampleTable: check integer overflow during table alloc

9 years agoam f106b199: SampleTable: check integer overflow during table alloc
Robert Shih [Wed, 10 Sep 2014 19:31:46 +0000 (19:31 +0000)]
am f106b199: SampleTable: check integer overflow during table alloc

* commit 'f106b1993143df44282777253244ce67974c9d4a':
  SampleTable: check integer overflow during table alloc

9 years agoSampleTable: check integer overflow during table alloc
Robert Shih [Mon, 28 Jul 2014 16:54:57 +0000 (09:54 -0700)]
SampleTable: check integer overflow during table alloc

Bug: 15328708
Bug: 15342615
Bug: 15342751
Change-Id: I6bb110a1eba46506799c73be8ff9a4f71c7e7053
(cherry picked from commit edd4a76eb4747bd19ed122df46fa46b452c12a0d)

10 years agoam 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:13:35 +0000 (13:13 -0700)]
am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '854aa061b1e2d7eaaf8ffa2ead323c1478393c57':
  Fix build

10 years agoam 42ba5806: am 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:08:17 +0000 (13:08 -0700)]
am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '42ba5806c03753a39f85016265173819ac465745':
  Fix build

10 years agoam 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:04:11 +0000 (13:04 -0700)]
am 72499628: am 25bab830: Fix build

* commit '72499628a24ccea0befe726de6e2b32176ddf208':
  Fix build

10 years agoam 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:00:07 +0000 (13:00 -0700)]
am 25bab830: Fix build

* commit '25bab830af062dcaef6f75220066b221fd30957e':
  Fix build

10 years agoFix build
Marco Nelissen [Thu, 20 Mar 2014 19:32:48 +0000 (12:32 -0700)]
Fix build

As of jb-mr1, need to explicitly include library dependencies. The original
change in jb, which the automerger dutyfully merged, did not need this.

Change-Id: I429637e2d01b8084376bb97a02bb091a0ea9eaf7

10 years agoam ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify...
Marco Nelissen [Thu, 20 Mar 2014 17:31:32 +0000 (10:31 -0700)]
am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'ebc9b47330ab8565f7bdd9b3973a8f75e3206e77':
  Verify certificates

10 years agoam fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:27:04 +0000 (10:27 -0700)]
am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'fb49b8bad468db591f55a7064181372f02ad94a2':
  Verify certificates

10 years agoam dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:21:14 +0000 (10:21 -0700)]
am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'dfd90c8052a913ed2bbbea1873ee51838d40bfe1':
  Verify certificates

10 years agoam d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:16:53 +0000 (10:16 -0700)]
am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'd434944b00cf83a38019047e0d7db155a15d77f4':
  Verify certificates

10 years agoam 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:11:20 +0000 (10:11 -0700)]
am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '3bc4f7eaf063201dc85ecc2f7c2bf2b70ab564ed':
  Verify certificates

10 years agoam 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:04:18 +0000 (10:04 -0700)]
am 0c271b75: Verify certificates

* commit '0c271b750f7314e187f8479f478ad9382d9a9045':
  Verify certificates

10 years agoVerify certificates
Marco Nelissen [Thu, 13 Mar 2014 21:18:25 +0000 (14:18 -0700)]
Verify certificates

b/13418320

Cherrypicked from 8a57d24c733b08da846b54d1adf029e606b5a5f3
https://googleplex-android-review.git.corp.google.com/#/c/433309/

Change-Id: I3052dd5f9ec057e700784cd713f6a7dab9ecfe7b

10 years agoam 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove...
Jeff Tinker [Mon, 19 Aug 2013 21:36:05 +0000 (14:36 -0700)]
am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '27b876d4cf78b262854b9f2aec26467f9323d3ad':
  Remove obsolete drm manager code

10 years agoam 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete...
Jeff Tinker [Mon, 19 Aug 2013 21:32:42 +0000 (14:32 -0700)]
am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '9bc40a2cfdd307074ef5c23ad444fc8a782bab84':
  Remove obsolete drm manager code

10 years agoam 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:31:11 +0000 (14:31 -0700)]
am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '98603acbce87c3a451c8e4c26625048363c3f7f7':
  Remove obsolete drm manager code

10 years agoam 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:27:45 +0000 (14:27 -0700)]
am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '36337f8f1c4d7384cb1528205582148c85c69f4d':
  Remove obsolete drm manager code

10 years agoam 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:24:50 +0000 (14:24 -0700)]
am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '7d72965ff6a4bf9f91213fbdafcd12cfad8334e5':
  Remove obsolete drm manager code

10 years agoam 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:21:48 +0000 (14:21 -0700)]
am 60476336: Remove obsolete drm manager code

* commit '6047633622328711cc6b23667c8d6381bae179bf':
  Remove obsolete drm manager code

11 years agoRemove obsolete drm manager code
Jeff Tinker [Mon, 22 Jul 2013 22:54:42 +0000 (15:54 -0700)]
Remove obsolete drm manager code

bug: 9545965
Change-Id: Ia6e09efa826b1349d027045e782980daeb7d7596
(cherry picked from commit f355f18aa2cc1706761e373fe19298a9ccc9c75a)

11 years agoEmpty test commit for AOSP
Conley Owens [Tue, 14 May 2013 17:14:40 +0000 (10:14 -0700)]
Empty test commit for AOSP

11 years agoam 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '66abe3ae38665256c8fe97770f046bf9c68625aa':
  Fix for crash if no content in DESCRIBE response

11 years agoam f0cea9f8: Merge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am f0cea9f8: Merge "Prevent invalid frame durations"

* commit 'f0cea9f83cf0c8e5ecdd2b401ec2d56d0c717708':
  Prevent invalid frame durations

11 years agoMerge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:33:00 +0000 (15:33 +0000)]
Merge "Fix for crash if no content in DESCRIBE response"

11 years agoMerge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:11:27 +0000 (15:11 +0000)]
Merge "Prevent invalid frame durations"

11 years agoPrevent invalid frame durations
Ola Andersson [Wed, 5 Dec 2012 12:07:58 +0000 (13:07 +0100)]
Prevent invalid frame durations

Prevent frame duration from being negative when
exporting movie studio project

Change-Id: I459fb243650c777c2b59d1094acc88c3a944bd81

11 years agoFix for crash if no content in DESCRIBE response
Xuefei Chen [Mon, 7 Jan 2013 08:43:13 +0000 (16:43 +0800)]
Fix for crash if no content in DESCRIBE response

If DESCRIBE response is received with status 200 but no content,
MyHandler will still set content data for session description
parsing. This will cause NULL Pointer crash.
This fix checks whether DESCRIBE response has content before
parsing session description.

Change-Id: I114ae6fd54ce804e61718f62618ca9008425a433

11 years agoam 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:13:28 +0000 (13:13 -0700)]
am 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '0fe40641db3759088edc1bc7f0182556d77bede6':

11 years agoam 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:00:27 +0000 (13:00 -0700)]
am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '72c7cf9d13f5a51a71dccc6d94317727bd0feec3':

11 years agoam a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:41:47 +0000 (12:41 -0700)]
am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'a1b1e2de67ed5ed3dfa8c8e9554bb0f0ab18a71c':

11 years agoam 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:23:04 +0000 (12:23 -0700)]
am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '56f387a4a8f319f3e6080b5e5963a4b177053cbe':

11 years agoReconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:19:00 +0000 (12:19 -0700)]
Reconcile with jb-mr1-release - do not merge

11 years agoMerge "Avoid invalid memory access when using extractMetadata()"
Marco Nelissen [Fri, 1 Mar 2013 19:06:22 +0000 (19:06 +0000)]
Merge "Avoid invalid memory access when using extractMetadata()"

11 years agoAvoid invalid memory access when using extractMetadata()
Sangkyu Lee [Fri, 8 Feb 2013 07:26:39 +0000 (16:26 +0900)]
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>
11 years agoMerge "SoftAMR: Signal the right frame format"
Andreas Huber [Wed, 27 Feb 2013 20:13:24 +0000 (20:13 +0000)]
Merge "SoftAMR: Signal the right frame format"

11 years agoMerge "SoftVorbis: Set the right encoding in the port definition"
Andreas Huber [Wed, 27 Feb 2013 20:12:07 +0000 (20:12 +0000)]
Merge "SoftVorbis: Set the right encoding in the port definition"

11 years agoMerge "MPEG4Writer: Write a zero-length compressor string"
Andreas Huber [Wed, 27 Feb 2013 16:53:21 +0000 (16:53 +0000)]
Merge "MPEG4Writer: Write a zero-length compressor string"

11 years agoSoftAMR: Signal the right frame format
Martin Storsjo [Sun, 17 Feb 2013 18:36:45 +0000 (20:36 +0200)]
SoftAMR: Signal the right frame format

The correct enum for the format used is OMX_AUDIO_AMRFrameFormatFSF,
which is the same as is used in amrnb/enc/SoftAMRNBEncoder.cpp,
amrwbenc/SoftAMRWBEncoder.cpp and in OMXCodec and ACodec.

The OMX_AUDIO_AMRFrameFormatConformance enum refers to an odd file
format only used for conformance tests, not used in the wild.

Change-Id: Idc395fc1d4969e33453522d6ec6526876438c526

11 years agoSoftVorbis: Set the right encoding in the port definition
Martin Storsjo [Wed, 30 Jan 2013 19:12:58 +0000 (21:12 +0200)]
SoftVorbis: Set the right encoding in the port definition

Previously, it set the encoding type to AAC, which is just a typo.

Change-Id: I2dcae1f579e9feb0b35b6f5d334028c534275042

11 years agoMPEG4Writer: Write a zero-length compressor string
Martin Storsjo [Wed, 30 Jan 2013 16:45:30 +0000 (18:45 +0200)]
MPEG4Writer: Write a zero-length compressor string

The first byte is the number of bytes in the string to display,
the rest is the actual string (see ISO/IEC 14496-12:2008 page 29,
compressorname in VisualSampleEntry) to display. Currently, all 31
space characters are displayed in certain players (such as Apple
QuickTime Player) instead of the plain codec name (e.g. "H.264").
By writing the string length properly, the actual content of the
remaining 31 bytes is ignored instead of displayed.

Change-Id: I7f93a8966d74a4e86abc46c3dcb70f71780d9cd6

11 years agoam 9b7e8fc7: Camera2: Fix JPEG quality metadata type, new warnings.: DO NOT MERGE
Eino-Ville Talvala [Thu, 31 Jan 2013 02:57:21 +0000 (18:57 -0800)]
am 9b7e8fc7: Camera2: Fix JPEG quality metadata type, new warnings.: DO NOT MERGE

# Via Igor Murashkin
* commit '9b7e8fc7c564b24a1c099dddae4e9c1126bd7c4e':
  Camera2: Fix JPEG quality metadata type, new warnings.: DO NOT MERGE

11 years agoam abeee0ec: Camera2: fix metadata symbols: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:57:20 +0000 (18:57 -0800)]
am abeee0ec: Camera2: fix metadata symbols: DO NOT MERGE

# Via Igor Murashkin
* commit 'abeee0ec92b5c77147036bf346de9309092a5ca1':
  Camera2: fix metadata symbols: DO NOT MERGE

11 years agoCamera2: Fix JPEG quality metadata type, new warnings.: DO NOT MERGE
Eino-Ville Talvala [Fri, 4 Jan 2013 20:05:56 +0000 (12:05 -0800)]
Camera2: Fix JPEG quality metadata type, new warnings.: DO NOT MERGE

- JPEG quality tag is now a uint8_t, not an int. Update parameter code
accordingly.

- Fix new warnings about narrowing conversions.

Bug: 7944244

Change-Id: Ie081c57c9e9323148614b170b132ffb98c0a0b9f

11 years agoCamera2: fix metadata symbols: DO NOT MERGE
Igor Murashkin [Wed, 28 Nov 2012 00:25:46 +0000 (16:25 -0800)]
Camera2: fix metadata symbols: DO NOT MERGE

Change-Id: I59e457824782de26b7b489cd92eb33d48e6ee2d9

11 years agoam 12834fe2: Merge "libvideoeditor: fix code bugs when enabling all-level debugging...
James Dong [Fri, 21 Dec 2012 22:42:34 +0000 (14:42 -0800)]
am 12834fe2: Merge "libvideoeditor: fix code bugs when enabling all-level debugging macros"

* commit '12834fe289e8173e94f31603fa6d313abe56ad70':
  libvideoeditor: fix code bugs when enabling all-level debugging macros