aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2025-07-11 11:19:40 -0500
committerjeffro256 <jeffro256@tutanota.com>2025-07-11 11:37:08 -0500
commit1d3d30c5076200a308de4764491ace1d8a4d52af (patch)
tree8e3e028d0cdbbbc4318008d992bf0af1d5492556 /src/simplewallet/simplewallet.cpp
parent3e218c2021a8346e8adb87baaadfb7261ae1477a (diff)
downloadmonzero-core-1d3d30c5076200a308de4764491ace1d8a4d52af.tar.gz
monzero-core-1d3d30c5076200a308de4764491ace1d8a4d52af.tar.xz
monzero-core-1d3d30c5076200a308de4764491ace1d8a4d52af.zip
crypto: check+throw for Cryptonight v1 invalid input
If `crypto::cn_slow_hash()` is called with `variant=1` and an input length of less thab 43 bytes, it triggers a program exit. This checks first and throws an exception instead. Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
0 files changed, 0 insertions, 0 deletions