summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 7463aab..82629fa 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1577,6 +1577,11 @@ int personalize_component(const char *component_name, const unsigned char* compo
}
} else {
info("Not personalizing component %s...\n", component_name);
+ stitched_component = (unsigned char*)malloc(component_size);
+ if (stitched_component) {
+ stitched_component_size = component_size;
+ memcpy(stitched_component, component_data, component_size);
+ }
}
if (component_blob)