Merge "Fix issue #69820174: The size of /proc/meminfo is larger than its stored buffer."
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ff7a642da
@@ -747,7 +747,7 @@ static long long get_zram_mem_used()
|
||||
|
||||
static void android_os_Debug_getMemInfo(JNIEnv *env, jobject clazz, jlongArray out)
|
||||
{
|
||||
char buffer[1024];
|
||||
char buffer[4096];
|
||||
size_t numFound = 0;
|
||||
|
||||
if (out == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user