History log of /frameworks/av/media/libstagefright/foundation/base64.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
999782fa3ff94607c0a814c8d447fad38c2c4c57 17-Aug-2017 Edwin Wong <edwinwong@google.com> Fix ClearKey Drm base64 en/decoding to use base64url.

ClearKey's base64 en/decoding should use '-' and '_'
instead of '+' and '/' (web safe coding). Add support
for base64url coding in libstagefright foundation library
and update ClearKey plugins.

Test: CTS - ClearSystemTests
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsMediaTestCases --test android.media.cts.ClearKeySystemTest

Test: CTS - NativeClearSystemTests
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsMediaTestCases --test android.media.cts.NativeClearKeySystemTest

Test: libstagefright/foundation/tests/Base64_test
adb shell /data/nativetest64/sf_foundation_test/sf_foundation_test

Test: ClearKeyDrmUnitTest
adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm"
/data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest

Test: Vts
vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target
--primary-abi-only -l VERBOSE

bug: 64388098
Change-Id: Ic08515fd491f15e088600c64603149401c117f4a
/frameworks/av/media/libstagefright/foundation/base64.cpp
5e96386ab7a5391185f6b3ed9ea06f3e23ed253b 27-Jun-2017 Lajos Molnar <lajos@google.com> stagefright: avoid buffer overflow in base64 decoder

Bug: 62673128
Change-Id: Id5f04b772aaca3184879bd5bca453ad9e82c7f94
/frameworks/av/media/libstagefright/foundation/base64.cpp
820c105f7a4dc0971ee563caea4c9b346854a2f7 11-Sep-2015 Wonsik Kim <wonsik@google.com> DO NOT MERGE Avoid size_t overflow in base64 decoding once again

Switch to foundation base64 function in OggExtractor and fix the
issue there.

This reverts commit 28314aef9e8a666dbb75bbd555f6566a6c991f1c.

Bug: 23707088
Change-Id: I268bd50431de5b5e579343bf1b425c42ada6daba
/frameworks/av/media/libstagefright/foundation/base64.cpp
28314aef9e8a666dbb75bbd555f6566a6c991f1c 11-Sep-2015 Wonsik Kim <wonsik@google.com> Revert "Avoid size_t overflow in base64 decoding once again"

This reverts commit c9ac5dfdafed1c66beae090cafa97002764e0ca3.

Change-Id: Iae9707bbd8641a0bb00fcda39a20eb8b8f4f5232
/frameworks/av/media/libstagefright/foundation/base64.cpp
c9ac5dfdafed1c66beae090cafa97002764e0ca3 07-Sep-2015 Wonsik Kim <wonsik@google.com> Avoid size_t overflow in base64 decoding once again

Switch to foundation base64 function in OggExtractor and fix the
issue there.

Bug: 23707088
Change-Id: I999ae911177c88dc13f9ee9796ca93c5928b20b0
/frameworks/av/media/libstagefright/foundation/base64.cpp
4bbfff2dbf3968c267c3b2ea9f8912a38372a9da 10-Feb-2014 Andreas Huber <andih@google.com> Support "data:" URIs again in mediaplayer...

Change-Id: I6dac35c7e606f738a60f985f6dca977dc92c82a4
related-to-bug: 12957757
/frameworks/av/media/libstagefright/foundation/base64.cpp
72961230a5890071bcca436eb5630172ce84ec41 07-Jun-2010 Andreas Huber <andih@google.com> Initial checkin of "foundation" library for future stagefright development.

Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
/frameworks/av/media/libstagefright/foundation/base64.cpp