From a85ae188c9759b02867a435b75965af7167a77fc Mon Sep 17 00:00:00 2001 From: elias-orijtech <103319121+elias-orijtech@users.noreply.github.com> Date: Sat, 23 Apr 2022 01:12:55 +0200 Subject: [PATCH] ci: add crashing testcase to fuzz corpus (#11735) The testcase triggers a panic, "NewIntFromBigInt() out of bound", in types.Dec.TruncateInt as detailed in #11732. --- ...78c263204e4264edbf13052cda0b9fc0a15552012d91c8bfecb398e9b394 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 fuzz/tests/testdata/fuzz/FuzzTypesParseCoin/5e8678c263204e4264edbf13052cda0b9fc0a15552012d91c8bfecb398e9b394 diff --git a/fuzz/tests/testdata/fuzz/FuzzTypesParseCoin/5e8678c263204e4264edbf13052cda0b9fc0a15552012d91c8bfecb398e9b394 b/fuzz/tests/testdata/fuzz/FuzzTypesParseCoin/5e8678c263204e4264edbf13052cda0b9fc0a15552012d91c8bfecb398e9b394 new file mode 100644 index 000000000000..a1f129742e75 --- /dev/null +++ b/fuzz/tests/testdata/fuzz/FuzzTypesParseCoin/5e8678c263204e4264edbf13052cda0b9fc0a15552012d91c8bfecb398e9b394 @@ -0,0 +1,2 @@ +go test fuzz v1 +[]byte("120000000000000000000000000000000000000000000000000000000000000000000000000000A00")