mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-31 09:50:11 +03:00
Merge pull request #402 from systemd-mailing-devs/1435512180-3659-1-git-send-email-ebiggers3@gmail.com
util: fix incorrect escape sequence in string_is_safe()
This commit is contained in:
@ -3627,7 +3627,7 @@ bool string_is_safe(const char *p) {
|
|||||||
if (*t > 0 && *t < ' ')
|
if (*t > 0 && *t < ' ')
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (strchr("\\\"\'\0x7f", *t))
|
if (strchr("\\\"\'\x7f", *t))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user