<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_av/drm/libmediadrm/ICrypto.cpp, branch lineage-17.1</title>
<subtitle>Fork of frameworks/av
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/'/>
<entry>
<title>BnCrypto: fix use-before-init in CREATE_PLUGIN</title>
<updated>2020-03-19T04:51:34+00:00</updated>
<author>
<name>Robert Shih</name>
<email>robertshih@google.com</email>
</author>
<published>2020-02-05T01:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=63889889c06e95529432177c457d6cdb4fcecac8'/>
<id>63889889c06e95529432177c457d6cdb4fcecac8</id>
<content type='text'>
Bug: 144767096
Test: poc_ICrypto_283
Merged-In: Id67dc9e793ee886e4cc49370d800c7f3580df313
Merged-In: I81ff7cde5e1693f05c90380e879f74d0c4bce5f1
Change-Id: If268553440b8a0cbbe011b5396974fd864a7d083
(cherry picked from commit 4bbfb6d8815002fc79b26aebba5f3ad2226c468e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 144767096
Test: poc_ICrypto_283
Merged-In: Id67dc9e793ee886e4cc49370d800c7f3580df313
Merged-In: I81ff7cde5e1693f05c90380e879f74d0c4bce5f1
Change-Id: If268553440b8a0cbbe011b5396974fd864a7d083
(cherry picked from commit 4bbfb6d8815002fc79b26aebba5f3ad2226c468e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix information disclosure in mediadrmserver" into oc-dev am: f452267ae8 am: dd57ac5b26</title>
<updated>2018-08-15T08:23:12+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2018-08-15T08:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=22fca9cd6248868e96cd3abb99b25d74948baada'/>
<id>22fca9cd6248868e96cd3abb99b25d74948baada</id>
<content type='text'>
am: f19106c7cc

Change-Id: I793b94bfbb7305bffcdd1c8c44fa989a10f3a4af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: f19106c7cc

Change-Id: I793b94bfbb7305bffcdd1c8c44fa989a10f3a4af
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix information disclosure in mediadrmserver</title>
<updated>2018-07-24T21:13:13+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2018-07-24T21:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=c1bf68a8d1321d7cdf7da6933f0b89b171d251c6'/>
<id>c1bf68a8d1321d7cdf7da6933f0b89b171d251c6</id>
<content type='text'>
Test:POC provided in bug
Bug:79218474
Change-Id: Iba12c07a5e615f8ed234b01ac53e3559ba9ac12e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test:POC provided in bug
Bug:79218474
Change-Id: Iba12c07a5e615f8ed234b01ac53e3559ba9ac12e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential memory leak.</title>
<updated>2018-03-31T23:31:29+00:00</updated>
<author>
<name>Edwin Wong</name>
<email>edwinwong@google.com</email>
</author>
<published>2018-03-31T23:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=fdd2cad293ab12d4066bb944142ca5d6b862c4b9'/>
<id>fdd2cad293ab12d4066bb944142ca5d6b862c4b9</id>
<content type='text'>
In the onTransact DECRYPT case, the allocated subSamples
are not freed when we encounter an error. Use unique_ptr
to manage memory instead.

Test: Play Movies &amp; TV, Netflix
Test: Gts

bug: 73628269
Change-Id: I36b7deeff0380ee3be31ad5f93a5598cfe02e381
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the onTransact DECRYPT case, the allocated subSamples
are not freed when we encounter an error. Use unique_ptr
to manage memory instead.

Test: Play Movies &amp; TV, Netflix
Test: Gts

bug: 73628269
Change-Id: I36b7deeff0380ee3be31ad5f93a5598cfe02e381
</pre>
</div>
</content>
</entry>
<entry>
<title>Move mediadrm-related headers</title>
<updated>2018-02-17T01:04:00+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2018-02-17T00:14:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=7d2c6e8be2c9a4f3c1364d243856a345f17f851e'/>
<id>7d2c6e8be2c9a4f3c1364d243856a345f17f851e</id>
<content type='text'>
Relocate drm and crypto headers from media
to mediadrm to have finer grained ownership

bug:73556221
Change-Id: I7d1b5944f261f9b1fdeed7605e4c0b4b4ca43e1a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relocate drm and crypto headers from media
to mediadrm to have finer grained ownership

bug:73556221
Change-Id: I7d1b5944f261f9b1fdeed7605e4c0b4b4ca43e1a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix use of uninitialized value in libmediadrm</title>
<updated>2018-01-12T07:45:26+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2018-01-12T01:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=2442047f5c6d368f69fa81917f5aabc9b3c342a0'/>
<id>2442047f5c6d368f69fa81917f5aabc9b3c342a0</id>
<content type='text'>
bug:70526702
test:gts media tests

Change-Id: I29a67dad01ca8c8f649ba12cf08cc86b7eb56523
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug:70526702
test:gts media tests

Change-Id: I29a67dad01ca8c8f649ba12cf08cc86b7eb56523
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential buffer overflow in mediadrmserver</title>
<updated>2018-01-12T06:17:02+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2018-01-11T08:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=5231cc164fe040a3ab5fcb28baae4e0a4f9fdf4c'/>
<id>5231cc164fe040a3ab5fcb28baae4e0a4f9fdf4c</id>
<content type='text'>
bug:71389378
test: gts media tests

Change-Id: Ic7d4b456bc874b92fbe202e3dafb7ceac747ebc7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug:71389378
test: gts media tests

Change-Id: Ic7d4b456bc874b92fbe202e3dafb7ceac747ebc7
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: more fixes for heap base mapping -- DO NOT MERGE</title>
<updated>2017-03-29T17:40:49+00:00</updated>
<author>
<name>Chong Zhang</name>
<email>chz@google.com</email>
</author>
<published>2017-03-28T21:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=6dcab2bafd847be84c2c2230bbd04af9c45c491e'/>
<id>6dcab2bafd847be84c2c2230bbd04af9c45c491e</id>
<content type='text'>
Heap base for the same heap could be mapped to different values
after they go across binder to CryptoHal. So we can't use heapbase
to index the heaps.

Since each ACodec instance allocates all its shared memory buffers
from the same memory dealer, we let CryptoHal assign a sequence
number to the ACodec when it calls setHeap. In subsequent calls
to CryptoHal::decrypt, reference the heap by the seq num, and ignore
the heap base address.

Bug: 36479980
Bug: 36209723
Bug: 36660223

Test: the above bugs don't repro

Change-Id: I2f519a689a5891447385d1bf9d6e668bb3b4dbe2

(cherry-picked from bf628da1e231e2e4d6bf61f9884e120bae3f9156)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Heap base for the same heap could be mapped to different values
after they go across binder to CryptoHal. So we can't use heapbase
to index the heaps.

Since each ACodec instance allocates all its shared memory buffers
from the same memory dealer, we let CryptoHal assign a sequence
number to the ACodec when it calls setHeap. In subsequent calls
to CryptoHal::decrypt, reference the heap by the seq num, and ignore
the heap base address.

Bug: 36479980
Bug: 36209723
Bug: 36660223

Test: the above bugs don't repro

Change-Id: I2f519a689a5891447385d1bf9d6e668bb3b4dbe2

(cherry-picked from bf628da1e231e2e4d6bf61f9884e120bae3f9156)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Fix decoder instantiation during playback"" -- DO NOT MERGE</title>
<updated>2017-03-29T17:40:13+00:00</updated>
<author>
<name>Chong Zhang</name>
<email>chz@google.com</email>
</author>
<published>2017-03-28T18:02:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=d07c92742fc5801cab8e99801f591365986acbe9'/>
<id>d07c92742fc5801cab8e99801f591365986acbe9</id>
<content type='text'>
This reverts commit de7268d8e20b883ec88a7ff19ad560a665373484.

Bug: 36479980
Bug: 36209723
Bug: 36660223

Change-Id: I8d83305a28dc35cee16f8f1068c90fdd0b9effff
(cherry picked from commit 6aa5c0662c86c7f7b2890577a207086eeecbd177)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit de7268d8e20b883ec88a7ff19ad560a665373484.

Bug: 36479980
Bug: 36209723
Bug: 36660223

Change-Id: I8d83305a28dc35cee16f8f1068c90fdd0b9effff
(cherry picked from commit 6aa5c0662c86c7f7b2890577a207086eeecbd177)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Revert "Fix decoder instantiation during playback""</title>
<updated>2017-03-22T00:05:18+00:00</updated>
<author>
<name>Jeff Tinker</name>
<email>jtinker@google.com</email>
</author>
<published>2017-03-22T00:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=93e29c0846e0f7583ae96edafbf5e8a3169711ee'/>
<id>93e29c0846e0f7583ae96edafbf5e8a3169711ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
