HomePhabricator

test: add ParseUInt8() unit and fuzz test coverage

Description

test: add ParseUInt8() unit and fuzz test coverage

Summary:
Also reuse test string with embedded null char in other tests.

This is a backport of core#21438

Test Plan: ninja check bitcoin-fuzzers

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Mar 14 2021, 12:10
PiRKCommitted on Feb 21 2022, 13:22
PiRKPushed on Feb 21 2022, 13:22
Reviewer
Restricted Project
Differential Revision
D11081: test: add ParseUInt8() unit and fuzz test coverage
Parents
rABC67221c860e4c: p2p, refactor: pass and use uint16_t CService::port as uint16_t
Branches
Unknown
Tags
Unknown