From 46e6e2a0a22f99acd98239c948ec1d36f5d07542 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 29 Jan 2019 12:30:52 +0100 Subject: Fix wrong size allocation for filename (developer app install) --- src/ideviceinstaller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.1-32-gdbae