You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the nonce position in the miner's blob. The variable length fields that are included there are major_version, minor_version and timestamp. None of them are under control of the end user enough to make stuff fall out of place (section 4.1 here https://cryptonote.org/cns/cns003.txt )
If you want to avoid magic numbers completely then you can parse the whole thing ( see section 1.2 here for a public domain parsing code https://tukaani.org/xz/xz-file-format.txt ).
https://www.reddit.com/r/Monero/comments/5pun87/miner_exploit_this_is_why_we_need_a_bug_bounty/
https://github.com/genesismining/sgminer-gm/commit/608c9885cbaa89b5f2846e8d1661dda02d2ba8ae