commit | 46e6e2a0a22f99acd98239c948ec1d36f5d07542 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Tue Jan 29 12:30:52 2019 +0100 |
committer | Nikias Bassen <nikias@gmx.li> | Tue Jan 29 12:30:52 2019 +0100 |
tree | 09add1bdebcc27e21949ec78da5e606be05401e5 | |
parent | f14def7cd9303a0fe622732fae9830ae702fdd7c [diff] |
Fix wrong size allocation for filename (developer app install)
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 @@ /* 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");