diff options
-rw-r--r-- | src/ideviceinstaller.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index f70ba25..0f9cc99 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -289,6 +289,10 @@ static int zip_get_app_directory(struct zip* zf, char** path) /* check if we have a "Payload/.../" name */ len = strlen(name); if (!strncmp(name, "Payload/", 8) && (len > 8)) { + /* skip hidden files */ + if (name[8] == '.') + continue; + /* locate the second directory delimiter */ const char* p = name + 8; do { |