HomePhabricator

Merge #9693: Prevent integer overflow in ReadVarInt.

Description

Merge #9693: Prevent integer overflow in ReadVarInt.

Summary:
45f0961 Prevent integer overflow in ReadVarInt. (Gregory Maxwell)

Tree-SHA512: 385ea0efb6b59d44c45a49227e5f6fff236b4775544cbeb236312a3fd87fd75c226ac56f7aa1bca66b853639da75a579610074f7582f92cf2ebd4a74bc40f6f0

Backport of Core PR 9693
https://github.com/bitcoin/bitcoin/pull/9693/

Test Plan: make check

Reviewers: deadalnix, jasonbcox, Fabien, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Apr 17 2017, 11:46
nakihitoCommitted on May 7 2019, 03:42
nakihitoPushed on May 7 2019, 03:42
Reviewer
Restricted Owners Package
Differential Revision
D2950: Merge #9693: Prevent integer overflow in ReadVarInt.
Parents
rABCe77c51451d36: Backport dev notes on RPC
Branches
Unknown
Tags
Unknown

Event Timeline

Nico Guiton <nico@bitframe.org> committed rABCeb91c18c4b3e: Merge #9693: Prevent integer overflow in ReadVarInt. (authored by Pieter Wuille <pieter.wuille@gmail.com>).May 7 2019, 03:42