What changed, and why it matters
This is a routine build fix for compiling XMRig with the Clang compiler on ARM64 processors. It adds a missing standard header file (`<cerrno>`) and updates copyright years. There is no security issue here.
No security action needed. Treat as a normal build-compatibility fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies src/base/tools/Cvt.cpp to include <cerrno>, which is required for Clang on ARM64 builds. The change is a straightforward compilation fix. The copyright year updates from 2021 to 2026 are administrative and unrelated to security.
Changed components
src/base/tools/Cvt.cppInspect captured patch +3 / −2
### src/base/tools/Cvt.cpp
@@ -1,7 +1,7 @@
/* XMRig
* Copyright (c) 2013-2020 Frank Denis <j at pureftpd dot org>
- * Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
- * Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
+ * Copyright (c) 2018-2026 SChernykh <https://github.com/SChernykh>
+ * Copyright (c) 2016-2026 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
#include <cassert>
+#include <cerrno>
#include <random>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.