bitcoin/test/sanitizer_suppressions
MarcoFalke 1245c62fef
Merge bitcoin/bitcoin#24139: Avoid unsigned integer overflow in bitcoin-tx
faa75fa193 Avoid unsigned integer overflow in bitcoin-tx (MarcoFalke)

Pull request description:

  While `npos` means "largest unsigned value" and adding `1` to it yields `0`, it may be clearer to just assign `0` to it and only increment otherwise.

  This also allows to remove a file-wide suppression for `unsigned-integer-overflow`.

ACKs for top commit:
  hebasto:
    ACK faa75fa193, I have reviewed the code and it looks OK, I agree it can be merged.
  theStack:
    Code-review ACK faa75fa193

Tree-SHA512: c24436641e5d801341c948b812c7f711d5dff70efdf04af00fd3221f4b81d93f25608dddaa36230ba81ca7ab0d18bdd957095d4561e22621e4d69017934f0a16
2022-01-28 15:26:24 +01:00
..
lsan Update test/sanitizer_suppressions/lsan 2022-01-04 00:01:41 +02:00
tsan test: Add ios_base::width tsan suppression 2021-10-27 11:41:03 +03:00
ubsan Merge bitcoin/bitcoin#24139: Avoid unsigned integer overflow in bitcoin-tx 2022-01-28 15:26:24 +01:00