HomePhabricator

Guard memcmp in tests against mixed size inputs.

Authored by Gregory Maxwell <greg@xiph.org> on May 25 2019, 11:54.

Description

Guard memcmp in tests against mixed size inputs.

Summary:
Reported by real-or-random.

Fixes #623.

This is a backport of secp256k1 PR627

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4999

Details

Committed
deadalnixJan 17 2020, 15:48
Pushed
deadalnixJan 17 2020, 15:48
Reviewer
Restricted Project
Differential Revision
D4999: Guard memcmp in tests against mixed size inputs.
Parents
rABCa071308f1954: Use __GNUC_PREREQ for detecting __builtin_expect
Branches
Unknown
Tags
Unknown