commit | 72a6fdcdc71df623f8876cf0681dc9364e78b35a | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Sat Apr 18 14:07:41 2015 -0700 |
committer | Yabin Cui <yabinc@google.com> | Sat Apr 18 14:10:12 2015 -0700 |
tree | 7a72e9e8a1816e4702e3846063f1d08af71d2368 | |
parent | af7538b49625f1c1c82e984610f26729a18d56bf [diff] |
Fix bug in app_id_from_name in stubs.cpp. It seems that a break statement is missing. Bug: 19872411 Change-Id: I9362783ab726d01f6eb27418563e716dd95688dc
diff --git a/libc/bionic/stubs.cpp b/libc/bionic/stubs.cpp index c971d1b..b57aeda 100644 --- a/libc/bionic/stubs.cpp +++ b/libc/bionic/stubs.cpp
@@ -245,6 +245,7 @@ appid = android_ids[n].aid; // Move the end pointer to the null terminator. end += strlen(android_ids[n].name) + 1; + break; } } }