From efe19b2eb9db7bb3ba913f0af7d5ececb173fe82 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 12 Mar 2016 12:18:49 +0100 Subject: cbootimage: allow working with paths that contain '@' Signed-off-by: Patrick Georgi Signed-off-by: Stephen Warren --- src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse.c b/src/parse.c index 6f37dad..39d746c 100644 --- a/src/parse.c +++ b/src/parse.c @@ -249,7 +249,7 @@ parse_filename(char *str, char *name, int chars_remaining) * Check if the filename buffer is out of space, preserving one * character to null terminate the string. */ - while (isalnum(*str) || strchr("\\/~_-+:.", *str)) { + while (isalnum(*str) || strchr("\\/~_-+:.@", *str)) { chars_remaining--; -- cgit v1.2.1