mirror of https://github.com/bitcoin/bitcoin
Change `read_string` to fail when not the entire input has been consumed. This avoids unexpected, even dangerous behavior (fixes #6223). The new JSON parser adapted in #6121 also solves this problem so in master this is a temporary fix, but should be backported to older releases. Also adds tests for the new behavior.pull/6226/head
parent
f00b62391b
commit
4e157fc60d
Loading…
Reference in new issue