1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00
util: fix incorrect escape sequence in string_is_safe()
This commit is contained in:
Daniel Mack 2015-06-29 05:43:26 +02:00
commit a611cd7406

View File

@ -3627,7 +3627,7 @@ bool string_is_safe(const char *p) {
if (*t > 0 && *t < ' ')
return false;
if (strchr("\\\"\'\0x7f", *t))
if (strchr("\\\"\'\x7f", *t))
return false;
}