History log of /frameworks/av/media/libstagefright/foundation/AString.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89b2a0ad367cdff5ff4e70036311ecf82921a829 03-May-2016 Marco Nelissen <marcone@google.com> Prevent NULL pointer access via implicit conversion

Prevent implicit conversion of a NULL char* to AString in MediaCodecInfo,
and make AString itself more robust.

Bug: 26385693
Change-Id: I4b6185bdf7c3390d571c71e94fd531bafc3f813e
/frameworks/av/media/libstagefright/foundation/AString.cpp
a1e8944a21e5833b7aadc451776f11797f5f9273 04-Feb-2015 Elliott Hughes <enh@google.com> Move AString's StringPrintf out of the way.

We should come back and replace AString with std::string and switch to the
"real" StringPrintf family, but this fixes the ODR violation that was
preventing us from booting.

Bug: 19265750
Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
/frameworks/av/media/libstagefright/foundation/AString.cpp
55971df8768a2e613717a14251d56993b9322b5e 08-Aug-2014 Sasha Levitskiy <sanek@google.com> libstagefright: foundation: Add syntactic sugar to the cast.

Change-Id: I0b6b3ae440addd4891c26b0639bd6e647a7b031e
/frameworks/av/media/libstagefright/foundation/AString.cpp
1198a3394a21d3c31b19395b124c77f09a8f0924 08-Aug-2014 Colin Cross <ccross@android.com> libstagefright_foundation: fix build

Change-Id: If61766efa8834df175bd5758c760344364458d4a
/frameworks/av/media/libstagefright/foundation/AString.cpp
8accee4f0e94f19866d260be6eecd6c219eb4982 06-Aug-2014 Lajos Molnar <lajos@google.com> stagefright: add AString parceling, and equal/compareIgnoreCase

Bug: 11990470
Change-Id: If43ada5d2e768931f4409e499eaa268edade0500
/frameworks/av/media/libstagefright/foundation/AString.cpp
3c1da7224155516a08d94598eb64b64204bf10f8 18-Jun-2014 Lajos Molnar <lajos@google.com> AString: add startsWithIgnoreCase and endsWithIgnoreCase

Change-Id: I340159aa14d4d3d28ea675c6c5b8a82f7e731069
/frameworks/av/media/libstagefright/foundation/AString.cpp
18e846c1ca29d7c4e4607243bc5ba694385128a1 21-Apr-2014 Nick Kralevich <nnk@google.com> am 474038ae: am 27158eb5: Merge "AArch64: AString::append for longs and pointers"

* commit '474038aef32f47d080567e8519d916b069a4f707':
AArch64: AString::append for longs and pointers
ef80764db37aa00bbb88755cb6cf11c6f2720bd3 25-Mar-2014 Marcus Oakland <marcus.oakland@arm.com> AArch64: AString::append for longs and pointers

The AString::append methods for long, unsigned long and void *
pointers were using char arrays of 16 elements, which were not long
enough for 64-bit longs and pointers in __LP64__ systems. This
resulted in "FORTIFY_SOURCE: vsprintf: prevented write past end of
buffer. Calling abort()." when the
android.media.cts.DecoderTest#testFlush CTS test was run.

The AString::append methods that were using sprintf have been modifed
to use snprintf instead, taking the sizeof the "s" array (which has
been made 32 char without conditional compilation for __LP64__ where
appropriate), and checking the return value to ensure that the string
has not been truncated.

After this change and changes to the types of OMX_U32 and OMX_S32 in the
frameworks/native/include/media/openmax/OMX_Types.h header file, the
android.media.cts.DecoderTest#testFlush CTS test passes.

Change-Id: I76d897373473c82f52986f43a15b050b844a370a
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
/frameworks/av/media/libstagefright/foundation/AString.cpp
bcf08569453dcb42730cda3230d5d375a697005b 05-Apr-2014 Lajos Molnar <lajos@google.com> stagefright: add AString constructor from String8

Change-Id: I85b37b6dee4ea9d5f7f1c1a40ff405a01a0c67f1
/frameworks/av/media/libstagefright/foundation/AString.cpp
ed3e3e046840d5bf1ca84a8c0cc097425e89d6d6 26-Mar-2012 Andreas Huber <andih@google.com> Provisional support for secure decryption of media streams.

Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
/frameworks/av/media/libstagefright/foundation/AString.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/AString.cpp