Page MenuHomePhabricator

Guard memcmp in tests against mixed size inputs.

Authored by deadalnix on Jan 17 2020, 14:28.



Reported by real-or-random.

Fixes #623.

This is a backport of secp256k1 PR627

Test Plan
make check

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Jan 17 2020, 14:28
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 17 2020, 14:28
Fabien accepted this revision.Jan 17 2020, 15:36
This revision is now accepted and ready to land.Jan 17 2020, 15:36
This revision was landed with ongoing or failed builds.Jan 17 2020, 15:48
This revision was automatically updated to reflect the committed changes.