mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#26272: test: Prevent UB in `minisketch_tests.cpp`
pull/25666/head97007e2b9b
test: Prevent UB in `minisketch_tests.cpp` (Hennadii Stepanov) Pull request description: [`std::optional::operator*`](https://en.cppreference.com/w/cpp/utility/optional/operator*), which follows after the changed line, can cause UB. This PR addresses https://github.com/bitcoin/bitcoin/issues/26262#issuecomment-1268855418 ACKs for top commit: stickies-v: ACK97007e2b9b
Tree-SHA512: a7dde8dac0cbdfa362fa1158b4564eccff9405852612227d581690c9a34084b3467ae6d4c0269262688d75339dcea90aaa38fccbba9be92d2643c2113860f3d6
commit
73b61717a9
Loading…
Reference in new issue