Page MenuHomePhabricator

Fix signed shift by 31 bits
ClosedPublic

Authored by jasonbcox on Aug 6 2020, 17:00.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC6ddc183e2b48: Fix signed shift by 31 bits
Summary

Shifting a signed integer by 31 bits is undefined behavior.

Test Plan
arc lint src/test/op_reversebytes_tests.cpp

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.Aug 6 2020, 17:27
This revision was automatically updated to reflect the committed changes.