summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-06 00:52:43 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-07-23 00:07:30 -0600
commitc65d6effc26c3d97a6193f65c5b7698c830d9ff0 (patch)
treeed498b394332d888477c75fcb3b12f51bcf70c62 /lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8
parent325178506187df037f9a85eb2e09100eb794f4f9 (diff)
btrfssum: Don't emit JSON strings that are too long
Split it, and wrap it in an array.
Diffstat (limited to 'lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8')
-rw-r--r--lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e82
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8 b/lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8
new file mode 100644
index 0000000..c9fd0e4
--- /dev/null
+++ b/lib/btrfs/btrfssum/testdata/fuzz/FuzzShortSumJSONFuzz/b15b16f1ef330f9113455291780be2915cecf2bd1b7dbe2e3af0505f042751e8
@@ -0,0 +1,2 @@
+go test fuzz v1
+[]byte("Z")