From 280641cee6f5c7e214e169f9addb75e93103ae65 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Wed, 28 Oct 2015 14:55:21 +0200 Subject: [PATCH] Add a testcase for invalid OFF file Testcase generated by AFL which used to crash the OFF loader --- test/models/OFF/invalid.off | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/models/OFF/invalid.off diff --git a/test/models/OFF/invalid.off b/test/models/OFF/invalid.off new file mode 100644 index 000000000..7ceb8bf85 --- /dev/null +++ b/test/models/OFF/invalid.off @@ -0,0 +1,8 @@ +OFF +3 4 +0.1 0.2 0.3 +0.2 0.3 0.4 +0.3 0.4 0.5 +0 +2 20 +4