Code Review
/
src
/
app-framework-main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5bf6765
)
correct handling of zip characters
author
José Bollo
<jose.bollo@iot.bzh>
Wed, 2 Dec 2015 14:35:19 +0000
(15:35 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Wed, 2 Dec 2015 14:35:19 +0000
(15:35 +0100)
Change-Id: Ifae715b80961ba8b602b4f15cadafb67b7f05bbb
wgtpkg-zip.c
patch
|
blob
|
history
diff --git
a/wgtpkg-zip.c
b/wgtpkg-zip.c
index
6ca321f
..
9e51538
100644
(file)
--- a/
wgtpkg-zip.c
+++ b/
wgtpkg-zip.c
@@
-49,7
+49,7
@@
static int is_valid_filename(const char *filename)
if ((c < 0x1f)
|| ((lastsp = (c == 0x20)) && index == 0)
|| c == 0x7f || c == 0x3c || c == 0x3e
- || c == 0x3a || c == 0x22
|| c == 0x2f
+ || c == 0x3a || c == 0x22
|| c == 0x5c || c == 0x7c || c == 0x3f
|| c == 0x2a || c == 0x5e || c == 0x60
|| c == 0x7b || c == 0x7d || c == 0x21)