Page MenuHomePhabricator

Merge #14513: Avoid 1 << 31 (UB) in calculation of SEQUENCE_LOCKTIME_DISABLE_FLAG
ClosedPublic

Authored by markblundeberg on May 27 2019, 14:37.

Details

Summary

PR14513 backport https://github.com/bitcoin/bitcoin/pull/14513/files
bc60c615a5 Avoid 1 << 31 (UB) in calculation of SEQUENCE_LOCKTIME_DISABLE_FLAG (practicalswift)

Pull request description:

Avoid `1 << 31` (UB) in calculation of `SEQUENCE_LOCKTIME_DISABLE_FLAG`.

Context: https://github.com/bitcoin/bitcoin/pull/14510#issuecomment-431153707
Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 27 2019, 14:44