]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
util: fix incorrect escape sequence in string_is_safe() 402/head
authorEric Biggers <ebiggers3@gmail.com>
Sun, 28 Jun 2015 17:23:00 +0000 (12:23 -0500)
committerHarald Hoyer <harald@redhat.com>
Sun, 28 Jun 2015 18:02:44 +0000 (20:02 +0200)
src/basic/util.c

index 727be56f58302a90d1d3395262ea754efa4bb256..906e4abad68c946687c4cca57eb46c60ab33dd30 100644 (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;
         }