[systemd-devel] [PATCH] util: fix incorrect escape sequence in string_is_safe()
Eric Biggers
ebiggers3 at gmail.com
Sun Jun 28 10:23:00 PDT 2015
---
src/basic/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/basic/util.c b/src/basic/util.c
index 727be56..906e4ab 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -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;
}
--
2.1.0
More information about the systemd-devel
mailing list