Page MenuHomePhabricator

Fix uninit values passed into cmov
ClosedPublic

Authored by deadalnix on Sep 27 2020, 21:47.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC42bcef68620e: Fix uninit values passed into cmov
Summary
  • Fixed UB(arithmetics on uninit values) in cmovs
  • Add valgrind uninit check to cmovs output

This is a backport of libsecp256k1 PR754

Test Plan
ninja check-secp256k1

Diff Detail

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

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 27 2020, 22:39