diff options
author | José Bollo <jose.bollo@iot.bzh> | 2015-12-02 15:35:19 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2015-12-02 15:35:19 +0100 |
commit | 252e53c07823178cd5988750b001f8f924516ad7 (patch) | |
tree | db02b45c04a51f1c04edb80b5774b8f52d168685 | |
parent | 5bf676513a4fc9ad92fcedac83b3dcbcfce77063 (diff) |
correct handling of zip characters
Change-Id: Ifae715b80961ba8b602b4f15cadafb67b7f05bbb
-rw-r--r-- | wgtpkg-zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgtpkg-zip.c b/wgtpkg-zip.c index 6ca321f..9e51538 100644 --- 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) |