[hac] Fixed a bug where the raw buffer was not cleared in KernelCapabilityBinary.

This commit is contained in:
jakcron 2018-09-09 19:57:54 +08:00
parent 8a60ee94ae
commit f21f3f569a

View file

@ -11,6 +11,7 @@ nn::hac::KernelCapabilityBinary::KernelCapabilityBinary(const KernelCapabilityBi
void nn::hac::KernelCapabilityBinary::operator=(const KernelCapabilityBinary & other) void nn::hac::KernelCapabilityBinary::operator=(const KernelCapabilityBinary & other)
{ {
clear(); clear();
mRawBinary = other.mRawBinary;
mThreadInfo = other.mThreadInfo; mThreadInfo = other.mThreadInfo;
mSystemCalls = other.mSystemCalls; mSystemCalls = other.mSystemCalls;
mMemoryMap = other.mMemoryMap; mMemoryMap = other.mMemoryMap;