mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#24217: Fix unsigned integer overflow in tapscript validation weight calculation
pull/24285/headfadc54b79b
Fix unsigned integer overflow in tapscript validation weight calculation (MarcoFalke) Pull request description: Change the tapscript validation weight constants from uint64_t to int64_t, since the type of m_validation_weight_left is also int64_t. Otherwise this will cause sanitizer warnings. This should be safe because signed integer overflow isn't expected to happen. ACKs for top commit: PastaPastaPasta: utACKfadc54b79b
theStack: Code-review ACKfadc54b79b
Tree-SHA512: 7a62d3a84733ab7827e3fa50d83f5493f2481b725c587e986eb2c128a769f023756f3ad964401526e386a847aa630a9f6c43a57d25ce5fd4af0b6bb5e0615528
commit
5034b7fa3b
Loading…
Reference in new issue