diff options
author | Yabin Cui <yabinc@google.com> | 2015-04-18 14:07:41 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-04-18 14:10:12 -0700 |
commit | 72a6fdcdc71df623f8876cf0681dc9364e78b35a (patch) | |
tree | 7a72e9e8a1816e4702e3846063f1d08af71d2368 /libc/bionic | |
parent | af7538b49625f1c1c82e984610f26729a18d56bf (diff) | |
download | bionic-72a6fdcdc71df623f8876cf0681dc9364e78b35a.zip bionic-72a6fdcdc71df623f8876cf0681dc9364e78b35a.tar.gz bionic-72a6fdcdc71df623f8876cf0681dc9364e78b35a.tar.bz2 |
Fix bug in app_id_from_name in stubs.cpp.
It seems that a break statement is missing.
Bug: 19872411
Change-Id: I9362783ab726d01f6eb27418563e716dd95688dc
Diffstat (limited to 'libc/bionic')
-rw-r--r-- | libc/bionic/stubs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ static id_t app_id_from_name(const char* name, bool is_group) { appid = android_ids[n].aid; // Move the end pointer to the null terminator. end += strlen(android_ids[n].name) + 1; + break; } } } |