01bdb04be6
event_log_tag parser complains about a period (.) in the name, we would consider such an enhancement to the tag names possible. I expect we would want to be able to support alphanumerics, underscore (_), period (.), minus (-), at (@) and comma (,) for starters as they are present in the other text log buffer tags. We introduce a local endOfTag function that is used during parsing and during android_lookupEventTagNum for submitting new tags. This function caused us to enforce const char more closely. By filtering in both places we resolve an issue that could have plagued us if garbage requests were made. Test: gTest liblog-unit-tests, logd-unit-tests & logcat-unit-tests Bug: 31456426 Change-Id: I596b8706e843719ddac07ec40e1cd2875c214bed |
||
---|---|---|
.. | ||
include/log | ||
tests | ||
.clang-format | ||
Android.mk | ||
event.logtags | ||
getopt_long.cpp | ||
logcat.cpp | ||
logcat_main.cpp | ||
logcat_system.cpp | ||
logcatd.rc | ||
logcatd_main.cpp | ||
logpersist | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE |