HomePhabricator

Guard memcmp in tests against mixed size inputs.

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

Provenance
Gregory Maxwell <greg@xiph.org>Authored on May 25 2019, 11:54
deadalnixCommitted on Jan 17 2020, 15:48
deadalnixPushed on Jan 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