summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Doron Zarhi2022-06-10 03:05:43 +0300
committerGravatar Nikias Bassen2022-06-17 02:05:56 +0200
commit5831f78d7e7c3c4618dca7dea21c357eb9a8707d (patch)
tree03aa1ad9e125d4b0642d56a6319fc940f1d96886 /src
parent6d3f4cfe0e9cf4ee90e3530acffae1d752a931d8 (diff)
downloadidevicerestore-5831f78d7e7c3c4618dca7dea21c357eb9a8707d.tar.gz
idevicerestore-5831f78d7e7c3c4618dca7dea21c357eb9a8707d.tar.bz2
restore: Fix memory corruption in restore_get_timer_firmware_data
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 26224a4..5423bb9 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -2757,7 +2757,7 @@ static plist_t restore_get_timer_firmware_data(restored_client_t restore, struct
plist_free(parameters);
return NULL;
} else {
- plist_dict_merge(parameters, ap_info);
+ plist_dict_merge(&parameters, ap_info);
}
/* add required tags for Timer TSS request */