Page MenuHomePhabricator

fuzz: add missing overrides to signature_checker
ClosedPublic

Authored by Fabien on Feb 2 2021, 14:51.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCb8a5566f5524: fuzz: add missing overrides to signature_checker
Summary
and also
- add missing parentheses in fuzz/scriptnum_ops.cpp
- remove useless unsigned int conditional in fuzz/script.cpp

These changes fix 5 compile warnings in gcc 10.

Backport of core PR19548.

This is a bit pointless, since for now there is no GCC 10 version for
AFL and the fuzzer sanitizer is not supported. I added another fix to
prevent a -Werror=missing-braces warning in deserialize.cpp.

Test Plan

With GCC (so no fuzzer enabled):

ninja bitcoin-fuzzers

Check there is no warning.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable