aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorKatie Hockman <katie@golang.org>2021-09-10 11:05:29 -0400
committerKatie Hockman <katie@golang.org>2021-09-10 19:27:54 +0000
commitd106089fa6aa69cc1b547c68ca19d84f28062c71 (patch)
treebc6c1328910788843d8adaff1d9ce3c974e5a1b1 /src/testing
parent363f2f3df99f3edd15609cc6bea2a2c6f423ce2c (diff)
downloadgo-d106089fa6aa69cc1b547c68ca19d84f28062c71.tar.xz
[dev.fuzz] internal/fuzz: write a newline to the end of a corpus file
If someone manually adds/alters a corpus file to add extra spacing or remove the final newline, the file can still be decoded. However, this change ensures that the fuzzing engine correctly writes the final newline. Fixes golang/go#48130 Change-Id: Ib5556d4a6e4e0bfd9bc2edab357b7c25bedfd176 Reviewed-on: https://go-review.googlesource.com/c/go/+/349055 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions