aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2015-09-19 11:39:22 -0700
committerRob Pike <r@golang.org>2015-09-20 04:46:08 +0000
commit7b5af511a51e5ca4ed751c8ce4c8eb40f5292e35 (patch)
tree33894e0ef6edbbac8dc3f59a608f3e500b0646d7 /src/encoding/json
parente643dc79d4d9c9d6cd680351a8d3aab5de531903 (diff)
downloadgo-7b5af511a51e5ca4ed751c8ce4c8eb40f5292e35.tar.xz
bufio: fix overflow calculation in Scan
I was being too clever, as usual. Write the obvious code to make sure that when we grow the buffer we don't overflow. Change-Id: I1641831177b0bb8a89ab6e9bcabccf6c2fcfe1d2 Reviewed-on: https://go-review.googlesource.com/14781 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions