Skip to content

Commit efe19b2

Browse files
Patrick Georginvswarren
authored andcommitted
cbootimage: allow working with paths that contain '@'
Signed-off-by: Patrick Georgi <patrick@openbios.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
1 parent a64c3f1 commit efe19b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ parse_filename(char *str, char *name, int chars_remaining)
249249
* Check if the filename buffer is out of space, preserving one
250250
* character to null terminate the string.
251251
*/
252-
while (isalnum(*str) || strchr("\\/~_-+:.", *str)) {
252+
while (isalnum(*str) || strchr("\\/~_-+:.@", *str)) {
253253

254254
chars_remaining--;
255255

0 commit comments

Comments
 (0)