Add ':' to allowed characters for magiskhide process name

This commit is contained in:
topjohnwu 2019-09-22 16:17:51 -04:00
parent 16b400964b
commit 4cd4bfa1d7

View File

@ -61,7 +61,7 @@ static bool validate(const char *s) {
bool dot = false; bool dot = false;
for (char c; (c = *s); ++s) { for (char c; (c = *s); ++s) {
if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') ||
(c >= '0' && c <= '9') || c == '_') { (c >= '0' && c <= '9') || c == '_' || c == ':') {
dot = false; dot = false;
continue; continue;
} }