summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-01-29 12:30:52 +0100
committerGravatar Nikias Bassen2019-01-29 12:30:52 +0100
commit46e6e2a0a22f99acd98239c948ec1d36f5d07542 (patch)
tree09add1bdebcc27e21949ec78da5e606be05401e5 /src/ideviceinstaller.c
parentf14def7cd9303a0fe622732fae9830ae702fdd7c (diff)
downloadideviceinstaller-46e6e2a0a22f99acd98239c948ec1d36f5d07542.tar.gz
ideviceinstaller-46e6e2a0a22f99acd98239c948ec1d36f5d07542.tar.bz2
Fix wrong size allocation for filename (developer app install)
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c2
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");