mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-26 09:47:45 +00:00
cbootimage: allow working with paths that contain '@'
Signed-off-by: Patrick Georgi <patrick@openbios.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
committed by
Stephen Warren
parent
a64c3f12b1
commit
efe19b2eb9
@@ -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--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user