mj-xmr
|
5b4fea72cf
|
Copyright: Update to 2023
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
|
1 year ago |
Jeffrey Ryan
|
50b7492e67
|
unit_tests: suppress memwipe unit warning
Fixes warning:
```
warning: ‘*(uint32_t*)quux’ may be used uninitialized [-Wmaybe-uninitialized]
49 | MDEBUG(std::hex << std::setw(8) << std::setfill('0') << *(uint32_t*)quux);
warning: ‘quux’ may be used uninitialized [-Wmaybe-uninitialized]
50 | if (wipe) { ASSERT_TRUE(memcmp(quux, "bar", 3)); }
```
|
2 years ago |
mj-xmr
|
da9aa1f7f8
|
Copyright: Update to 2022
|
2 years ago |
SomaticFanatic
|
5ef0607da6
|
Update copyright year to 2020
Update copyright year to 2020
|
4 years ago |
binaryFate
|
1f2930ce0b
|
Update 2019 copyright
|
5 years ago |
xmr-eric
|
84a7f6a482
|
Readd copyright starting date
|
6 years ago |
xmr-eric
|
18216f19dd
|
Update 2018 copyright
|
6 years ago |
Riccardo Spagni
|
0a94399a05
|
Merge pull request #3082
8b50209c fix for warning (Onur Altun)
|
6 years ago |
moneromooo-monero
|
fdd4c5e577
|
move memwipe to epee to avoid common<->crypto circular dependencies
|
6 years ago |
Onur Altun
|
8b50209ca0
|
fix for warning
monero/tests/unit_tests/memwipe.cpp:50:8: Warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (wipe) ASSERT_TRUE(memcmp(quux, "bar", 3));
|
6 years ago |
moneromooo-monero
|
223e3788ac
|
unit_tests: fix memwipe test comparison
free might overwrite the memory, so we can't expect to see
the NULs we overwrote with, but at least we shouldn't see
the original data.
|
7 years ago |
moneromooo-monero
|
000666ff78
|
add a memwipe function
It's meant to avoid being optimized out
memory_cleanse lifted from bitcoin
|
7 years ago |