diff options
Diffstat (limited to 'src')
-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 55c10d0..f0e0253 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -348,6 +348,10 @@ static int zip_get_app_directory(struct zip* zf, char** path) } } while(i < c); + if (*path == NULL) { + return -1; + } + return 0; } |