From a01b5249c529829f47774d15b890b4716e935068 Mon Sep 17 00:00:00 2001 From: Alex Light Date: Mon, 27 Mar 2017 10:15:27 -0700 Subject: Make base64 explicitly check dst_size for nullptr Also moved it out of utils.h and into common_runtime_test.h since it is only used for tests. Test: ./test.py --host -j40 Change-Id: Ib3c18cb510be833928482c0b2f47f9fb02933f7f --- runtime/common_runtime_test.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/common_runtime_test.h') diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index d7abe2a8f4..bfa273d42b 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -44,6 +44,8 @@ class JavaVMExt; class Runtime; typedef std::vector> RuntimeOptions; +uint8_t* DecodeBase64(const char* src, size_t* dst_size); + class ScratchFile { public: ScratchFile(); -- cgit v1.2.3-59-g8ed1b