リビジョン | e99fefa29bbd83f9fb3e7bb4b280733ae3695450 (tree) |
---|---|
日時 | 2017-06-01 16:15:37 |
作者 | android-build-team Robot <android-build-team-robot@goog...> |
コミッター | android-build-team Robot |
release-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057656 snap-temp-L93200000069424216
Change-Id: If84ddfe4696327fcd69945b619efa2d000a413f1
@@ -38,7 +38,7 @@ void setprop_main(void) | ||
38 | 38 | if (strstr(name, "..")) |
39 | 39 | error_exit("'..' is not allowed in a property name"); |
40 | 40 | for (p = name; *p; ++p) |
41 | - if (!isalnum(*p) && !strchr("@_.-", *p)) | |
41 | + if (!isalnum(*p) && !strchr(":@_.-", *p)) | |
42 | 42 | error_exit("invalid character '%c' in name '%s'", *p, name); |
43 | 43 | |
44 | 44 | if (__system_property_set(name, value)) |