HomePhabricator

Check that key length is correct when deserializing CExtKey

Description

Check that key length is correct when deserializing CExtKey

Summary: Also add test cases for it + test cases for CExtPubKey.

Test Plan:

Added test cases.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Feb 12 2019, 18:43
deadalnixPushed on Feb 14 2019, 16:55
Reviewer
Restricted Project
Differential Revision
D2552: Check that key length is correct when deserializing CExtKey
Parents
rSTAGING20f49d7d0bf1: Various nit in pubkey.h
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/7354, tag: phabricator/base/7351, tag: phabricator/base/7349, tag: phabricator/base/7348