I managed to get the functions in doh.c exercised with this branch. It would be nice to see oss-fuzz cover also that function.
If you merge soon, it will be interesting to see if oss-fuzz finds the bug in https://github.com/curl/curl/pull/4352 before it has been merged into master. It may be difficult to randomly come up with a 480 something input while also matching the TLV and length, but let's see!
I managed to get the functions in doh.c exercised with this branch. It would be nice to see oss-fuzz cover also that function.
If you merge soon, it will be interesting to see if oss-fuzz finds the bug in https://github.com/curl/curl/pull/4352 before it has been merged into master. It may be difficult to randomly come up with a 480 something input while also matching the TLV and length, but let's see!