History log of /system/core/libutils/String8.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc5fdc85683f87c42d5ce7bcee4e2b70ef0acdd0 21-Aug-2015 Abhishek Arya <aarya@google.com> am e45d96d6: am 19398a71: am d34846b7: am cd407a17: am e0dce90b: Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b

* commit 'e45d96d6bf592f0ae20bb021ea529acc94e0cb55':
Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b
d34846b70b7f6eb167722d45e0c717fa64116e90 21-Aug-2015 Abhishek Arya <aarya@google.com> am cd407a17: am e0dce90b: Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b

* commit 'cd407a17fe326f3e18866ddddb1c747b06a45fc0':
Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b
e0dce90b0de2b2b7c2baae8035f810a55526effb 21-Aug-2015 Abhishek Arya <aarya@google.com> Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b

Bug: 23290056
Change-Id: If6e22b0159de6635a8ca5305895b7718f15becc7
/system/core/libutils/String8.cpp
93f106b8d0207ce685ad56704df8a568f3edebb6 21-Aug-2015 Sergio Giro <sgiro@google.com> am e97682be: am a1a22b57: am e67b5848: am 4956c0fe: am 5b85b1d4: libutils: fix overflow in String8::allocFromUTF8

* commit 'e97682be0634fe773f70097bc518e5d034efe8f7':
libutils: fix overflow in String8::allocFromUTF8
e67b584869eea8d4e955e82de1e38ede080a2ed4 21-Aug-2015 Sergio Giro <sgiro@google.com> am 4956c0fe: am 5b85b1d4: libutils: fix overflow in String8::allocFromUTF8

* commit '4956c0fe1e582a8497aff34a41aeb8bf4748eef0':
libutils: fix overflow in String8::allocFromUTF8
5b85b1d40d619c2064d321364f212ebfeb6ba185 18-Aug-2015 Sergio Giro <sgiro@google.com> libutils: fix overflow in String8::allocFromUTF8

Patch contributed in:
https://code.google.com/p/android/issues/detail?id=182908

Bug: 23290056

(cherry picked from commit 4eeacbeec0ae66e9d9395abbf83666709f2e11e3)

Change-Id: Ife1dc0791040150132bea6884f1e6c8d31972d1b
(cherry picked from commit ebabef275283f771151ec93c17469374b789b2c8)
/system/core/libutils/String8.cpp
dd060f01f68ee0e633e9cae24c4e565cda2032bd 14-Nov-2014 Andreas Gampe <agampe@google.com> System/core: Use memmove

Should use memmove when you expect overlap.

Change-Id: I268a173db40a4be54232958e37aa8a03c2a885ee
/system/core/libutils/String8.cpp
5ee915afe17b7190f992addc48cb53ed6371a68d 07-Jun-2014 Jeff Brown <jeffbrown@google.com> Add a couple of useful string functions.

Change-Id: I158f69917bab5f15482dd8f2b66b36a4cc0f11ad
/system/core/libutils/String8.cpp
5bed8036644f552210a7cfcbed2d6d20cf2981b0 30-Apr-2014 Mark Salyzyn <salyzyn@google.com> libutils: turn on -Werror

- Deal with some -Wunused issues
- Override PRI macros (windows)
- Revert use of PRI macros on off64_t (linux)
- Deal with a gnu++11 complaince issue

Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
/system/core/libutils/String8.cpp
fff9d11be528ad8f581cc7223b879c55009d7396 26-Feb-2014 Fengwei Yin <fengwei.yin@intel.com> Fix undefined args access for x86_64.

From libc manual for vsnprintf:
The functions vprintf(), vfprintf(), vsprintf(), vsnprintf()
are equivalent to the functions printf(), fprintf(), sprintf(), snprintf(),
respectively, except that they are called with a va_list instead of a
variable number of arguments. These functions do not call the va_end macro.
Because they invoke the va_arg macro, the value of ap is undefined after the call.

We need to allocate/end new va_list for each vsnprintf.

Change-Id: I66ec058033be1cb918e7b2bc84ca546800da226b
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
/system/core/libutils/String8.cpp
d98e07fdf9c338589f263c47ce5c844ed43efad5 02-Aug-2013 Alex Ray <aray@google.com> move libs/utils to libutils

Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d
/system/core/libutils/String8.cpp