diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-01 07:29:51 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-01 07:29:51 +0000 |
commit | 86387eeea3551b815d7bbf3cf1c64f82798e3b37 (patch) | |
tree | 6f446febe3817d87af06556af22fa90db72831ec | |
parent | 51cf423e95af2b3a59116bc5e3023c9486d6dcda (diff) | |
parent | 0db040b343537e1b08e5bc9f3dc94ce31f4f544e (diff) | |
download | android_external_toybox-86387eeea3551b815d7bbf3cf1c64f82798e3b37.tar.gz android_external_toybox-86387eeea3551b815d7bbf3cf1c64f82798e3b37.tar.bz2 android_external_toybox-86387eeea3551b815d7bbf3cf1c64f82798e3b37.zip |
release-request-e5546013-e96c-4ee5-90aa-42a79d072375-for-git_oc-dr1-release-4057695 snap-temp-L89700000069427448
Change-Id: I964fe22eef5113cc45c3c854eaf50483236d21de
-rw-r--r-- | toys/android/setprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/android/setprop.c b/toys/android/setprop.c index c1356156..ec411f41 100644 --- a/toys/android/setprop.c +++ b/toys/android/setprop.c @@ -38,7 +38,7 @@ void setprop_main(void) if (strstr(name, "..")) error_exit("'..' is not allowed in a property name"); for (p = name; *p; ++p) - if (!isalnum(*p) && !strchr("@_.-", *p)) + if (!isalnum(*p) && !strchr(":@_.-", *p)) error_exit("invalid character '%c' in name '%s'", *p, name); if (__system_property_set(name, value)) |