| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Change-Id: I0b6b3ae440addd4891c26b0639bd6e647a7b031e
|
|
|
|
| |
Change-Id: If61766efa8834df175bd5758c760344364458d4a
|
|
|
|
|
| |
Bug: 11990470
Change-Id: If43ada5d2e768931f4409e499eaa268edade0500
|
|
|
|
| |
Change-Id: I340159aa14d4d3d28ea675c6c5b8a82f7e731069
|
|\
| |
| |
| |
| |
| |
| | |
pointers"
* commit '474038aef32f47d080567e8519d916b069a4f707':
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>
|
|/
|
|
| |
Change-Id: I85b37b6dee4ea9d5f7f1c1a40ff405a01a0c67f1
|
|
|
|
| |
Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
|
|
Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
|