]> granicus.if.org Git - curl/commit
doh: fix (harmless) buffer overrun
authorPaul Dreik <github@pauldreik.se>
Sat, 14 Sep 2019 01:16:09 +0000 (03:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 15 Sep 2019 21:25:24 +0000 (23:25 +0200)
commitb7666027296a4f89a8ce6b22af335e8aee7a7782
treee75c54442cdb8ed02be13d2a8d4dd7de16f90e2b
parent5eb75d418657a734bfbe02e5aef69cc5fe28ebc6
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.
lib/doh.c
tests/data/Makefile.inc
tests/data/test1655 [new file with mode: 0644]
tests/unit/CMakeLists.txt
tests/unit/Makefile.inc
tests/unit/README
tests/unit/unit1655.c [new file with mode: 0644]