Merge of xmrig v6.5.1

This commit is contained in:
MoneroOcean 2020-11-08 17:21:41 +00:00
commit 60c9c0c07d
13 changed files with 80 additions and 39 deletions

View file

@ -174,7 +174,8 @@ void xmrig::RxDataset::setRaw(const void *raw)
return;
}
memcpy(randomx_get_dataset_memory(m_dataset), raw, maxSize());
volatile size_t N = maxSize();
memcpy(randomx_get_dataset_memory(m_dataset), raw, N);
}