From b7666027296a4f89a8ce6b22af335e8aee7a7782 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Sat, 14 Sep 2019 03:16:09 +0200 Subject: doh: fix (harmless) buffer overrun Added unit test case 1655 to verify. Close #4352 the code correctly finds the flaws in the old code, if one temporarily restores doh.c to the old version. --- tests/data/test1655 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/data/test1655 (limited to 'tests/data/test1655') diff --git a/tests/data/test1655 b/tests/data/test1655 new file mode 100644 index 000000000..0c10bedf4 --- /dev/null +++ b/tests/data/test1655 @@ -0,0 +1,26 @@ + + + +unittest +doh + + + +# +# Client-side + + +none + + +unittest + + +unit test for doh_encode + + +unit1655 + + + + -- cgit v1.2.3