[PATCH] cbootimage: allow working with paths that contain '@'

Patrick Georgi
2016-03-12T11:18:49Z

Signed-off-by: Patrick Georgi <patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org>
---
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--;

--
2.6.2