From 0cd0c7356b3670f6ee8ef10c7ae31a9649ce4baa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Jul 2017 11:23:34 +0200 Subject: Fix hangs when reading corrupt UTF-8 --- tests/bad/bad-char-in-uri.ttl | 1 + tests/bad/bad-long-literal-in-list.ttl | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/bad/bad-char-in-uri.ttl create mode 100644 tests/bad/bad-long-literal-in-list.ttl (limited to 'tests/bad') diff --git a/tests/bad/bad-char-in-uri.ttl b/tests/bad/bad-char-in-uri.ttl new file mode 100644 index 00000000..49f9c0d4 --- /dev/null +++ b/tests/bad/bad-char-in-uri.ttl @@ -0,0 +1 @@ +<ÿÿÿ://a.example/s> "\u0006!#[]\u007F" . diff --git a/tests/bad/bad-long-literal-in-list.ttl b/tests/bad/bad-long-literal-in-list.ttl new file mode 100644 index 00000000..f10b4c3d --- /dev/null +++ b/tests/bad/bad-long-literal-in-list.ttl @@ -0,0 +1 @@ +<> ("""") . \ No newline at end of file -- cgit v1.2.1