HomePhabricator

Fix several potential issues found by sanitizers

Description

Fix several potential issues found by sanitizers

Summary: Backport of core PR9743

Test Plan:
With ubsan:

make check

With tsan:

./src/test/test_bitcoin --run_test=DoS_tests

(this test uses the SetMockTime function)

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Feb 11 2017, 02:03
FabienCommitted on Jan 28 2019, 19:40
FabienPushed on Jan 28 2019, 19:40
Reviewer
Restricted Project
Differential Revision
D2422: Fix several potential issues found by sanitizers
Parents
rABC8f54c6c0b0d5: Add tests for HexStr corner cases
Branches
Unknown
Tags
Unknown

Event Timeline