From 1bf8fad5a2bfef4915fe64c1279e1fd02eb7d340 Mon Sep 17 00:00:00 2001 From: AndriyAndreyev Date: Tue, 26 Apr 2022 21:46:45 +0300 Subject: [PATCH] Add test case to check stack overflow crash Without additional check is angle negative or not in the LargeHole_DontFill function this test case leads to stack overflow. Signed-off-by: AndriyAndreyev --- testbed/data/stalactite.dat | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testbed/data/stalactite.dat diff --git a/testbed/data/stalactite.dat b/testbed/data/stalactite.dat new file mode 100644 index 0000000..5aae3d0 --- /dev/null +++ b/testbed/data/stalactite.dat @@ -0,0 +1,14 @@ +450 2250 +450 1750 +400 1700 +350 1650 +350 500 +1050 1700 +HOLE +980 1636 +950 1600 +650 1230 +625 1247 +600 1250 +591 1350 +550 2050