Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43567ad4 authored by Keith Mok's avatar Keith Mok Committed by Automerger Merge Worker
Browse files

Merge "android_util_Process: fix length checking logic" am: b1fb01e8

parents fc4d75a1 b1fb01e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -991,7 +991,7 @@ jboolean android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz,
            end = i;
            i++;
        } else if ((mode&PROC_QUOTES) != 0) {
            while (buffer[i] != '"' && i < endIndex) {
            while (i < endIndex && buffer[i] != '"') {
                i++;
            }
            end = i;