mirror of
https://github.com/tihmstar/futurerestore.git
synced 2025-04-20 14:31:41 +00:00
Memory safe I guess?
This commit is contained in:
parent
96c0a02229
commit
61eacf7d9a
|
@ -20,6 +20,7 @@
|
|||
#endif
|
||||
|
||||
#include <img4tool/img4tool.hpp>
|
||||
#include <utility>
|
||||
|
||||
extern "C"{
|
||||
#include "common.h"
|
||||
|
@ -553,7 +554,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, std::string bootarg
|
|||
if(!iBEC.first) {
|
||||
info("Patching iBEC\n");
|
||||
iBEC = getIPSWComponent(_client, build_identity, "iBEC");
|
||||
iBEC = move(libipatcher::patchiBEC((char*)iBEC.first, iBEC.second, iBECKeys, bootargs));
|
||||
iBEC = move(libipatcher::patchiBEC((char*)iBEC.first, iBEC.second, iBECKeys, std::move(bootargs)));
|
||||
}
|
||||
|
||||
if (_client->image4supported) {
|
||||
|
|
Loading…
Reference in a new issue