How to crash CryptoNote-based coin daemon...

in #cryptonote4 years ago

I got several reports about daemon of my coin crashing on Linux... After hours of investigating the root cause, I found out that two of the transactions the daemon was receiving from network had mixin of over 1700. This caused buffer overflow in transaction validation, because the code didn't check number of outputs before trying to iterate through them.

As a fix, I did limit number of outputs per input to 50 and that stopped the daemon from crashing.

Sort:  

oe22bo.png

Get lost chump... That's what the mute button is for.
Loser...