Mika avatar

How to crash CryptoNote-based coin daemon...

mtl1979

Published: 10 Dec 2019 › Updated: 10 Dec 2019How to crash CryptoNote-based coin daemon...

How to crash CryptoNote-based coin daemon...

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.

Leave How to crash CryptoNote-based coin daemon... to:

Written by

Freelance journalist, software designer

Read more #cryptonote posts


Best Posts From Mika

We have not curated any of mtl1979's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Mika