We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86ad866 + c51cb89 commit e8f4fa1Copy full SHA for e8f4fa1
1 file changed
core/jni/android_os_UEventObserver.cpp
@@ -49,7 +49,7 @@ static bool isMatch(const char* buffer, size_t length) {
49
50
// Consider all zero-delimited fields of the buffer.
51
const char* field = buffer;
52
- const char* end = buffer + length;
+ const char* end = buffer + length + 1;
53
do {
54
if (strstr(field, match.string())) {
55
ALOGV("Matched uevent message with pattern: %s", match.string());
0 commit comments