Page MenuHomePhabricator

Reject invalid coin height and output index when loading assumeutxo
ClosedPublic

Authored by PiRK on Oct 7 2022, 16:24.

Details

Summary

This is a backport of core#22146

We can bypassing the temporary ubsan suppressions (core#22202).
The casting to uint32_t is necessary to avoid a -Wsign-compare warning. A block height can not be negative.

Test Plan

ninja all check-all