aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-gce-image.sh
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-01-05 12:29:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-01-09 20:19:44 +0100
commit0913359f7945a0cc1bca95ce842e2db93296e712 (patch)
treedcf5ae8a007b035d785cb37a9d9b90141845cb9d /tools/create-gce-image.sh
parent26f0782d08cd55979593f50c37aea5daee059a3b (diff)
prog: increase line length limit when deserializing programs
bufio.Scanner has a default limit of 4K per line, if a program contains longer line, it fails. Extend the limit to 64K. Also check scanning errors. Turns out even scanning of bytes.Buffer can fail due to the line limit.
Diffstat (limited to 'tools/create-gce-image.sh')
0 files changed, 0 insertions, 0 deletions