diff options
author | Nikias Bassen | 2019-01-29 12:30:52 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-01-29 12:30:52 +0100 |
commit | 46e6e2a0a22f99acd98239c948ec1d36f5d07542 (patch) | |
tree | 09add1bdebcc27e21949ec78da5e606be05401e5 | |
parent | f14def7cd9303a0fe622732fae9830ae702fdd7c (diff) | |
download | ideviceinstaller-46e6e2a0a22f99acd98239c948ec1d36f5d07542.tar.gz ideviceinstaller-46e6e2a0a22f99acd98239c948ec1d36f5d07542.tar.bz2 |
Fix wrong size allocation for filename (developer app install)
-rw-r--r-- | src/ideviceinstaller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 301a5b8..fbd24d0 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -926,7 +926,7 @@ run_again: /* extract the CFBundleIdentifier from the package */ /* construct full filename to Info.plist */ - char *filename = (char*)malloc(strlen(appid)+10+1); + char *filename = (char*)malloc(strlen(appid)+11+1); strcpy(filename, appid); strcat(filename, "/Info.plist"); |