From 961c85bf7c9a5d3de64a337524164080890a3dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 18 Jun 2017 23:09:30 +0200 Subject: [PATCH] IOS/ES: Fix bug in ImportTicket ioctlv handler --- Source/Core/Core/IOS/ES/TitleManagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/ES/TitleManagement.cpp b/Source/Core/Core/IOS/ES/TitleManagement.cpp index cd0563c5ff..7a41fd1c88 100644 --- a/Source/Core/Core/IOS/ES/TitleManagement.cpp +++ b/Source/Core/Core/IOS/ES/TitleManagement.cpp @@ -90,7 +90,7 @@ IPCCommandResult ES::ImportTicket(const IOCtlVRequest& request) std::vector bytes(request.in_vectors[0].size); Memory::CopyFromEmu(bytes.data(), request.in_vectors[0].address, request.in_vectors[0].size); std::vector cert_chain(request.in_vectors[1].size); - Memory::CopyFromEmu(bytes.data(), request.in_vectors[1].address, request.in_vectors[1].size); + Memory::CopyFromEmu(cert_chain.data(), request.in_vectors[1].address, request.in_vectors[1].size); return GetDefaultReply(ImportTicket(bytes, cert_chain)); }