HomePhabricator

CDataStream::ignore Throw exception instead of assert on negative nSize.
4bf631e5e48cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

CDataStream::ignore Throw exception instead of assert on negative nSize.

Previously disk corruption would cause an assert instead of an exception.

Details

Provenance
Patrick Strateman <patrick.strateman@gmail.com>Authored on Apr 25 2016, 04:59
Pieter Wuille <pieter.wuille@gmail.com>Committed on Apr 25 2016, 12:42
deadalnixPushed on May 14 2017, 22:04
Parents
rABC4f87af6fc758: Treat overly long scriptPubKeys as unspendable
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABC4bf631e5e48c: CDataStream::ignore Throw exception instead of assert on negative nSize. (authored by Patrick Strateman <patrick.strateman@gmail.com>).Apr 25 2016, 12:42