diff options
author | Nikias Bassen | 2013-11-20 11:52:40 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-11-20 11:52:40 +0100 |
commit | 068d451cf357c1c359c450e91b3d7797fcafe4e3 (patch) | |
tree | 0e49b23df888f75a0d0cd648f7213382c243670f /src | |
parent | 4c39067fff12ee84e4941d727e7caeb669e5ca39 (diff) | |
download | idevicerestore-068d451cf357c1c359c450e91b3d7797fcafe4e3.tar.gz idevicerestore-068d451cf357c1c359c450e91b3d7797fcafe4e3.tar.bz2 |
personalize_component: always return a component, also if not stitched
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 5 |
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) |