aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-06-03 09:42:03 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-06-03 15:16:18 +0200
commit181771b71296ffc242a4301a472f5a7ad5f6cc76 (patch)
tree4bfa96897662c3c989c1b1b0dd2a492c96ef950f /configure.ac
parentecc96f5ba9af206d1eb69f41d4d04f4fd014eeb3 (diff)
downloadbitcoin-181771b71296ffc242a4301a472f5a7ad5f6cc76.tar.xz
json: fail read_string if string contains trailing garbage
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. Github-Pull: #6226 Rebased-From: 4e157fc60dae5ca69933ea4c1585a2a078b4d957
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions