From f21f3f569a52f76a9c8920fb324875a18ea0a3c8 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 9 Sep 2018 19:57:54 +0800 Subject: [PATCH] [hac] Fixed a bug where the raw buffer was not cleared in KernelCapabilityBinary. --- lib/libhac/source/KernelCapabilityBinary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libhac/source/KernelCapabilityBinary.cpp b/lib/libhac/source/KernelCapabilityBinary.cpp index 71d5eed..096c7b3 100644 --- a/lib/libhac/source/KernelCapabilityBinary.cpp +++ b/lib/libhac/source/KernelCapabilityBinary.cpp @@ -11,6 +11,7 @@ nn::hac::KernelCapabilityBinary::KernelCapabilityBinary(const KernelCapabilityBi void nn::hac::KernelCapabilityBinary::operator=(const KernelCapabilityBinary & other) { clear(); + mRawBinary = other.mRawBinary; mThreadInfo = other.mThreadInfo; mSystemCalls = other.mSystemCalls; mMemoryMap = other.mMemoryMap;