OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7538b
)
Fix bug in app_id_from_name in stubs.cpp.
author
Yabin Cui
<yabinc@google.com>
Sat, 18 Apr 2015 21:07:41 +0000
(14:07 -0700)
committer
Yabin Cui
<yabinc@google.com>
Sat, 18 Apr 2015 21:10:12 +0000
(14:10 -0700)
It seems that a break statement is missing.
Bug:
19872411
Change-Id: I9362783ab726d01f6eb27418563e716dd95688dc
libc/bionic/stubs.cpp
patch
|
blob
|
history
diff --git
a/libc/bionic/stubs.cpp
b/libc/bionic/stubs.cpp
index
c971d1b
..
b57aeda
100644
(file)
--- 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;
}
}
}