psbt.h:644:51: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type ‘unsigned long’ #25749

issue MarcoFalke openend this issue on July 30, 2022
  1. MarcoFalke commented at 1:49 pm on July 30, 2022: member

    Steps to reproduce:

    • Build with integer sanitizer
    • UBSAN_OPTIONS="suppressions=$(pwd)/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" ./src/qt/bitcoin-qt
    • Enter into the RPC debug console: decodepsbt "cHNidP8BAKOro2MDAwMDA5ggCAAA////CQAtAAD+///1AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAD+///1Zm9ybmV3nWx1Y2vmelLmegAAAAAAAAAAAAAAAAAAAAMKAwMDAwMDAwMDAwMACvMBA3FkAAAAAAAAAAAABAAlAAAAAAAAACEWDQ0zDQ0NDQ0NDQ0NCwEAAH9/f39/fwMAAABNo6P///kAAA=="
  2. MarcoFalke added the label Bug on Jul 30, 2022
  3. MarcoFalke added this to the milestone 24.0 on Jul 30, 2022
  4. fanquake commented at 8:57 am on August 9, 2022: member
  5. achow101 commented at 9:22 pm on August 9, 2022: member
  6. fanquake referenced this in commit 0094ff3947 on Aug 11, 2022
  7. fanquake closed this on Aug 11, 2022

  8. sidhujag referenced this in commit 47449b0492 on Aug 11, 2022
  9. bitcoin locked this on Aug 11, 2023


MarcoFalke fanquake achow101

Labels
Bug

Milestone
24.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-29 01:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me