]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Import fuzzers from bind-9.18 branch
authorPetr Špaček <pspacek@isc.org>
Thu, 1 Feb 2024 09:17:43 +0000 (10:17 +0100)
committerPetr Špaček <pspacek@isc.org>
Fri, 2 Aug 2024 09:18:25 +0000 (11:18 +0200)
It required minor resync of other auxiliary files in fuzz/ directory.

560 files changed:
fuzz/.gitignore
fuzz/FUZZING.md
fuzz/Makefile.am [new file with mode: 0644]
fuzz/Makefile.in
fuzz/afl.sh [new file with mode: 0755]
fuzz/dns_master_load.c [new file with mode: 0644]
fuzz/dns_master_load.in/date.db [new file with mode: 0644]
fuzz/dns_master_load.in/generate.db [new file with mode: 0644]
fuzz/dns_master_load.in/include.db [new file with mode: 0644]
fuzz/dns_master_load.in/minimal.db [new file with mode: 0644]
fuzz/dns_message_checksig.c [new file with mode: 0644]
fuzz/dns_message_checksig.in/issue-3547 [new file with mode: 0644]
fuzz/dns_message_checksig.in/sig0 [new file with mode: 0644]
fuzz/dns_message_checksig.in/tsig [new file with mode: 0644]
fuzz/dns_message_checksig.in/tsig-reply [new file with mode: 0644]
fuzz/dns_message_parse.c [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0a3807b25967.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0af8cee23ed0.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0b7820813414.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0bf0754502aa.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0c6c1a0dcff1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0ccf2a7952ea.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0dd75ab2e3f8.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0de21419c7e7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-0eb553c77d2b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1295da719914.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-131eff5d4a89.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1359eec5b20f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1410836d8ef5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-15df237e7dd9.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-17ecbe4230d4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1818a0a13743.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-191a3716d274.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1dcb02bb39d7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-1f25e4467b28.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-20aeb1ee571c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-20cc218f4c3a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-240335cece1a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-24b76ef067ec.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-25305bdb78fe.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-258334bb1e33.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-25c433073c4b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-261086edd389.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-27326d79a152.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-275812229fac.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-27b65637a4b5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2938c8b1445b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-297325ce1762.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2b665de93d1a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2c08fd4dcb3d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2c60032e840c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2d1dc7672bf2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2d83e44b2f92.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2e70e80504cd.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-2fe12f38215a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3230c27a3abe.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-32392b7ae8a7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-34a3a57c8ae4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3655812d837d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3a137dd7b503.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3cd5f858a00d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3d25900ba1b1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-3e3cd0560440.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4266b7ed6d6a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-43c68a804d35.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-43d462943ca3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4434df5061b3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-478b516e964a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-49bb8231b39d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4aa7978e4119.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4bfca9820e10.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4dffd19c9afb.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4ec445e05f0c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4f2cbb78045a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-4f6cc6a12505.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5169d80942f3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5296a02226d1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-53ed4e7a29d6.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-54215b8b2b8e.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5634ef9088ee.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5b6b63dd703f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5b9da3da657a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5c0ccc6b77bf.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5d979f41d421.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-5d9c67d54aec.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6303ab0cdf88.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-630463d00dac.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-63be4d8a1d68.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-63d46cd58251.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6400baa777ad.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-641b1b826491.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-646e3c9711e4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6491f22d5f5b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-651968863bc9.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-66197bb21ca4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-68f9625e0aec.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-69362e75d3be.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6a5efb202ad8.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6a93e44599bf.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6be5dd262530.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6c7b6f8c8afd.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-6e4e87d71bc5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-702a6a8add74.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-72266173e768.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-75ae672e4cae.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-787896107cf3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-78ab38d04283.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-795193a1db70.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-797d68892908.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-7b5c63ad58fb.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-7d8144b4f9ac.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-7dbaeeb319be.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-7de0b8fa5185.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-805c5f9cc117.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-832a9ff132b4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-836a160118ed.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-83d8a26b0ba1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-84363927a7c4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-871b17db22dc.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8847038e2f7d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8865e3e8fc58.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-88861957625d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-89108c64d256.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8a50cad26a32.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8bd3def5546b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8c59124ecb07.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8df3ab8b6e61.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8dfc87b32ef5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8ec56dbf62d3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-8fa237c06042.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-902a3c05da11.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-928c3456965c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-933133e35070.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-935e0d54e9c9.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9505061ee351.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-968627e29186.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-972c76703038.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9891a0862aac.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-98d15ca48eef.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9944d30084a1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-99de4b1b7c38.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9de0b2c0780d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9e3af51e2bcb.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9f0f1e4e817b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-9f48f3557a00.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a06ce069e6b3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a2a5b67b76b2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a39dc6e6ee00.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a3c097b04746.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a3e871047ca3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a45373b1a726.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a4cb3a9bf3e7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a62833d96a66.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a790c5d85b6b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a880c5517d16.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-a8a01fa5c284.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-aa6cb7a11980.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-abfec4ff90c7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ac3e9300db0c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ac990a516666.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ad5d6c0d0fb9.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ae10c96730e8.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ae4a22aa552a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-aec4625b6d42.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-aec8410bdb4f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-aec8b56210a1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b12fadba475b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b13de985759b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b1d9f8cb59df.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b1e8adc5d017.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b323d823e01b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b454cbb43d66.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b46361010e76.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b4b611ab5fcc.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b65097187471.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b6701c25b6e1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b6f6cd200669.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b7c5ba0f7fb0.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b88e4bb4abba.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b8bf0052fb08.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b9bc7f02a216.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-b9ce7339dddc.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ba7424594a0d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-bc9f1f65a3c4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-bd736b351783.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-be76dfe66118.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-be8375564939.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-bec0455a1678.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-bfbfcbd33796.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c0251ea00b00.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c10987825ecf.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c1cc7bab8256.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c254e9d16be3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c2ba496f1449.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c2c3333bdb6c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c439937029cb.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c65ffcbdf7d0.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c672248dc8ea.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c67977887d95.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c68b9538d3e4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c7cd757cec7c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c7d81d83b94c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c8a3d0ddc61d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c8b4afeff5e2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c968926dbec6.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c9b3f4c01ed7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-c9e67818c18c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-cd46ee3cac5a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-cd7b9a067681.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ce7878853fa2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-cefdad1b260f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-cf6c31a11c89.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d3c96f0d1490.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d42af7b690a0.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d4af13b69f3d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d527fae0755f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d52f26e4f48b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d5eca764cd66.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d6e76abab3ad.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d71b9874bd1d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-d859bf5ce7e1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-dd118fa60462.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ddd14e3b6b59.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ddffaad18764.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-de64ccbd4ce3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-de9bfd253114.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-df0844e4d6be.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-df703f24c477.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-dfe1e2881ac5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e0dfc9ad6f0f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e17381e39767.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e2a6cf354856.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e30893305aac.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e32409b3af66.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e3b5d9c9fe3f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e3d1d67dc45d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e46fabf59388.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e474ce479e99.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e573b67bb9e3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e6d9636b026b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e7223c7f647d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e77695b27ad6.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e7935935808d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e7f900a70954.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e83789acdcc3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e8c0eb5e12d1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-e94e68b93183.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-eb9795edda17.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ebe452324465.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ec39cd58be84.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ec4a653441eb.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ecdced027574.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ed054f5982d5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-eed0dafd9dee.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f014a72684c2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f0b4dab8ce89.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f0d0da6b96f1.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f122eda7b026.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f14b5e3ef15c.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f1d418e777ae.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f1e13c2d2e30.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f22e479dc6d6.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f273b06c78d4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f437926bc6c5.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f449e690e676.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f55da7de9012.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f587f4c6428f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f5bc579df1d2.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f60e3510f25b.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f62bdc9dd4de.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f6edebc937bd.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f76469109b02.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f76f553f4fa0.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f797d11e3c4f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f799bb18a6b4.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f79a08509eca.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f7ecd481acc7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f8f516ea9428.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-f99e669d189d.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fad2599d584a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fb5d54dfc593.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fbfeae8a5a7f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fc3efa6eb96a.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fd8135176e19.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fe15124e969f.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fe2b7e021de8.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ff5c3d4491e7.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-ffa6fed4d130.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/bind-systemtest-fff2972f8fa9.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/cz.nic-24.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/cz.nic-25.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/cz.nic-26.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/cz.nic-3.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-176998.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-209207.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-27166.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-289417.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-345158.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-357147.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-438052.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-443089.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-553818.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-577278.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-608943.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-735918.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-738261.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-743121.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-782674.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-818733.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-868934.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-893515.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-894122.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-928203.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-94044.pkt [new file with mode: 0644]
fuzz/dns_message_parse.in/seed-951706.pkt [new file with mode: 0644]
fuzz/dns_name_fromtext_target.c
fuzz/dns_rdata_fromtext.c [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/afsdb [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/amtrelay [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/any_tsig [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/avc [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/caa [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/cdnskey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/cds [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/cert [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ch_a [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/class1234_type65533 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/cname [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/csync [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/dlv [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/dname [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/dnskey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/doa [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ds [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/eui48 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/eui64 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/gid [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/gpos [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/hinfo [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/hip [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/hs_a [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_a [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_a6 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_aaaa [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_apl [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_atma [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_dhcid [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_eid [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_kx [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_nimloc [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_nsap [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_nsap_ptr [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_px [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_srv [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/in_wks [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ipseckey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/isdn [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/key [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/keydata [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/l32 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/l64 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/loc [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/lp [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/mb [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/md [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/mf [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/mg [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/minfo [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/mr [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/mx [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/naptr [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/nid [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ninfo [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ns [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/nsec [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/nsec3 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/nsec3param [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/null [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/nxt [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/openpgpkey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/opt [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ptr [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/rkey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/rp [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/rrsig [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/rt [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/sig [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/sink [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/smimea [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/soa [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/spf [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/sshfp [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/ta [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/talink [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/tkey [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/tlsa [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/txt [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/uid [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/uinfo [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/unspec [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/uri [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/x25 [new file with mode: 0644]
fuzz/dns_rdata_fromtext.in/zonemd [new file with mode: 0644]
fuzz/dns_rdata_fromwire_text.c
fuzz/dns_rdata_fromwire_text.in/cdnskey
fuzz/dns_rdata_fromwire_text.in/input-0 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-1 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-10 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-100 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-101
fuzz/dns_rdata_fromwire_text.in/input-102
fuzz/dns_rdata_fromwire_text.in/input-103
fuzz/dns_rdata_fromwire_text.in/input-104 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-105 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-106 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-107 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-108
fuzz/dns_rdata_fromwire_text.in/input-109 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-11 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-110 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-111 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-112 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-113 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-114 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-115 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-116 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-117 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-118 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-119 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-12
fuzz/dns_rdata_fromwire_text.in/input-120 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-121 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-122 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-123
fuzz/dns_rdata_fromwire_text.in/input-124 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-125 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-126 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-127 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-128
fuzz/dns_rdata_fromwire_text.in/input-129 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-13 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-130
fuzz/dns_rdata_fromwire_text.in/input-131 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-132 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-133 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-134
fuzz/dns_rdata_fromwire_text.in/input-135 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-136 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-137 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-138 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-139 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-14 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-140 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-141 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-142 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-143
fuzz/dns_rdata_fromwire_text.in/input-15
fuzz/dns_rdata_fromwire_text.in/input-16
fuzz/dns_rdata_fromwire_text.in/input-17 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-18 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-19 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-2 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-20 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-21 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-22
fuzz/dns_rdata_fromwire_text.in/input-23
fuzz/dns_rdata_fromwire_text.in/input-24
fuzz/dns_rdata_fromwire_text.in/input-25
fuzz/dns_rdata_fromwire_text.in/input-26
fuzz/dns_rdata_fromwire_text.in/input-27
fuzz/dns_rdata_fromwire_text.in/input-28 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-29 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-3 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-30 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-31 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-32 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-33
fuzz/dns_rdata_fromwire_text.in/input-34
fuzz/dns_rdata_fromwire_text.in/input-35
fuzz/dns_rdata_fromwire_text.in/input-36
fuzz/dns_rdata_fromwire_text.in/input-37 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-38 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-39 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-4 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-40 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-41 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-42 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-43 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-44 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-45 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-46 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-47
fuzz/dns_rdata_fromwire_text.in/input-48 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-49
fuzz/dns_rdata_fromwire_text.in/input-5
fuzz/dns_rdata_fromwire_text.in/input-50
fuzz/dns_rdata_fromwire_text.in/input-51
fuzz/dns_rdata_fromwire_text.in/input-52 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-53
fuzz/dns_rdata_fromwire_text.in/input-54 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-55 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-56 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-57
fuzz/dns_rdata_fromwire_text.in/input-58 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-59 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-6
fuzz/dns_rdata_fromwire_text.in/input-60 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-61 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-62 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-63 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-64 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-65 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-66 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-67 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-68 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-69 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-7
fuzz/dns_rdata_fromwire_text.in/input-70 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-71 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-72
fuzz/dns_rdata_fromwire_text.in/input-73 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-74 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-75 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-76 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-77
fuzz/dns_rdata_fromwire_text.in/input-78 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-79 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-8
fuzz/dns_rdata_fromwire_text.in/input-80 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-81
fuzz/dns_rdata_fromwire_text.in/input-82 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-83
fuzz/dns_rdata_fromwire_text.in/input-84
fuzz/dns_rdata_fromwire_text.in/input-85
fuzz/dns_rdata_fromwire_text.in/input-86 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-87
fuzz/dns_rdata_fromwire_text.in/input-88 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-89
fuzz/dns_rdata_fromwire_text.in/input-9 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-90 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-91 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-92 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-93 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-94 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-95 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-96
fuzz/dns_rdata_fromwire_text.in/input-97 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-98 [deleted file]
fuzz/dns_rdata_fromwire_text.in/input-99 [deleted file]
fuzz/dns_rdata_fromwire_text.in/smimea
fuzz/dns_rdata_fromwire_text.in/sshfp
fuzz/fuzz.h
fuzz/isc_lex_getmastertoken.c [new file with mode: 0644]
fuzz/isc_lex_getmastertoken.in/named.conf [new file with mode: 0644]
fuzz/isc_lex_getmastertoken.in/simple [new file with mode: 0644]
fuzz/isc_lex_gettoken.c [new file with mode: 0644]
fuzz/isc_lex_gettoken.in/named.conf [new file with mode: 0644]
fuzz/isc_lex_gettoken.in/simple [new file with mode: 0644]
fuzz/libfuzzer.sh [new file with mode: 0755]
fuzz/main.c

index 8edb50ea2f34f5e0e420c9090ecb5e4a52efc309..7d03848c63827ca3218c103c95f75fa4eb868a06 100644 (file)
@@ -1,4 +1,10 @@
 /*.dSYM/
-dns_name_fromtext_target
-dns_rdata_fromwire_text
 /*.out/
+/dns_master_load
+/dns_message_checksig
+/dns_message_parse
+/dns_name_fromtext_target
+/dns_rdata_fromtext
+/dns_rdata_fromwire_text
+/isc_lex_getmastertoken
+/isc_lex_gettoken
index 65363e1ac13e7190732ec493ff9e0535ec1415a1..357b323b7dedcc817d5a4c1b8aede409c8379c29 100644 (file)
@@ -18,10 +18,10 @@ The tests in this directory can be operated in three modes:
 * non-fuzzing - the test just runs over all input located in `<test_name>.in/`
   directory by compiling with mock main.c that walks through the directory and
   runs `LLVMFuzzerTestOneInput()` over the input files
-* AFL - `./configure --with-fuzzing=afl` will either feed the stdin to
+* AFL - `./configure --enable-fuzzing=afl` will either feed the stdin to
   `LLVMFuzzerTestOneInput()` or run the `__AFL_LOOP(10000)` if compiled with
-  `afl-clang-fast`
-* LibFuzzer - `./configure --with-fuzzing=libfuzzer` will disable `main.c`
+  `afl-clang-fast`. You have to compile using `CC=afl-<gcc|clang>`.
+* LibFuzzer - `./configure --enable-fuzzing=libfuzzer` will disable `main.c`
   completely and it uses the standard LibFuzzer mechanims to feed
   `LLVMFuzzerTestOneInput` with the fuzzer
 
diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
new file mode 100644 (file)
index 0000000..eb4a2f4
--- /dev/null
@@ -0,0 +1,51 @@
+include $(top_srcdir)/Makefile.top
+
+AM_CFLAGS +=                           \
+       $(TEST_CFLAGS)
+
+AM_CPPFLAGS +=                         \
+       $(LIBISC_CFLAGS)                \
+       $(LIBDNS_CFLAGS)                \
+       -DFUZZDIR=\"$(abs_srcdir)\"
+
+AM_LDFLAGS +=                          \
+       $(FUZZ_LDFLAGS)
+
+LDADD +=                               \
+       libfuzzmain.la                  \
+       $(LIBISC_LIBS)                  \
+       $(LIBDNS_LIBS)
+
+check_LTLIBRARIES = libfuzzmain.la
+libfuzzmain_la_SOURCES =               \
+       fuzz.h                          \
+       main.c
+
+check_PROGRAMS =                       \
+       dns_master_load                 \
+       dns_message_checksig            \
+       dns_message_parse               \
+       dns_name_fromtext_target        \
+       dns_rdata_fromtext              \
+       dns_rdata_fromwire_text         \
+       isc_lex_getmastertoken          \
+       isc_lex_gettoken
+
+EXTRA_DIST =                           \
+       dns_master_load.in              \
+       dns_message_checksig.in         \
+       dns_message_parse.in            \
+       dns_name_fromtext_target.in     \
+       dns_rdata_fromtext.in           \
+       dns_rdata_fromwire_text.in      \
+       isc_lex_getmastertoken.in       \
+       isc_lex_gettoken.in
+
+TESTS = $(check_PROGRAMS)
+
+if HAVE_FUZZ_LOG_COMPILER
+LOG_COMPILER = $(srcdir)/$(FUZZ_LOG_COMPILER)
+AM_LOG_FLAGS = $(srcdir)
+endif HAVE_FUZZ_LOG_COMPILER
+
+unit-local: check
index e62ed1514a32f8cc882399574ee10bcf6808118b..082508c054aac5ef575bdb3f203ac2a3f03298b4 100644 (file)
@@ -28,22 +28,52 @@ DNSDEPLIBS =        ../lib/dns/libdns.@A@
 LIBS =         @LIBS@
 
 OBJS =         main.@O@
-SRCS =         main.c dns_name_fromtext_target.c dns_rdata_fromwire_text.c
+SRCS =         main.c dns_master_load.c dns_message_checksig.c dns_message_parse.c dns_name_fromtext_target.c dns_rdata_fromtext.c dns_rdata_fromwire_text.c isc_lex_getmastertoken.c isc_lex_gettoken.c
 
 SUBDIRS =
-TARGETS =      dns_name_fromtext_target@EXEEXT@ \
-               dns_rdata_fromwire_text@EXEEXT@
+TARGETS =      dns_master_load@EXEEXT@ \
+               dns_message_checksig@EXEEXT@ \
+               dns_message_parse@EXEEXT@ \
+               dns_name_fromtext_target@EXEEXT@ \
+               dns_rdata_fromtext@EXEEXT@ \
+               dns_rdata_fromwire_text@EXEEXT@ \
+               isc_lex_getmastertoken@EXEEXT@ \
+               isc_lex_gettoken@EXEEXT@
 
 @BIND9_MAKE_RULES@
 
+dns_master_load@EXEEXT@: dns_master_load.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               dns_master_load.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
+dns_message_checksig@EXEEXT@: dns_message_checksig.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               dns_message_checksig.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
+dns_message_parse@EXEEXT@: dns_message_parse.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               dns_message_parse.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
 dns_name_fromtext_target@EXEEXT@: dns_name_fromtext_target.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
        ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
                dns_name_fromtext_target.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
 
+dns_rdata_fromtext@EXEEXT@: dns_rdata_fromtext.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               dns_rdata_fromtext.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
 dns_rdata_fromwire_text@EXEEXT@: dns_rdata_fromwire_text.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
        ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
                dns_rdata_fromwire_text.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
 
+isc_lex_getmastertoken@EXEEXT@: isc_lex_getmastertoken.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               isc_lex_getmastertoken.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
+isc_lex_gettoken@EXEEXT@: isc_lex_gettoken.@O@ main.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
+               isc_lex_gettoken.@O@ main.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
+
 check: ${TARGETS}
        for fuzzer in ${TARGETS}; do \
                ./$${fuzzer} ; \
diff --git a/fuzz/afl.sh b/fuzz/afl.sh
new file mode 100755 (executable)
index 0000000..88ac6ea
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+#
+# SPDX-License-Identifier: MPL-2.0
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0.  If a copy of the MPL was not distributed with this
+# file, you can obtain one at https://mozilla.org/MPL/2.0/.
+#
+# See the COPYRIGHT file distributed with this work for additional
+# information regarding copyright ownership.
+
+echo "The AFL log compiler is not implemented yet."
+
+exit 1
diff --git a/fuzz/dns_master_load.c b/fuzz/dns_master_load.c
new file mode 100644 (file)
index 0000000..016cc88
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <stdbool.h>
+#include <stdlib.h>
+
+#include <isc/buffer.h>
+#include <isc/mem.h>
+#include <isc/util.h>
+
+#include <dns/callbacks.h>
+#include <dns/db.h>
+#include <dns/master.h>
+#include <dns/types.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+int
+LLVMFuzzerInitialize(int *argc, char ***argv) {
+       UNUSED(argc);
+       UNUSED(argv);
+       return (0);
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_buffer_t buf;
+       isc_result_t result;
+       isc_mem_t *mctx = NULL;
+
+       isc_buffer_constinit(&buf, data, size);
+       isc_buffer_add(&buf, size);
+       isc_buffer_setactive(&buf, size);
+
+       dns_rdatacallbacks_t callbacks;
+       dns_rdatacallbacks_init(&callbacks);
+       dns_db_t *db = NULL;
+
+       isc_mem_create(&mctx);
+       result = dns_db_create(mctx, "rbt", dns_rootname, dns_dbtype_zone,
+                              dns_rdataclass_in, 0, NULL, &db);
+       if (result != ISC_R_SUCCESS) {
+               return 0;
+       }
+
+       result = dns_db_beginload(db, &callbacks);
+       if (result != ISC_R_SUCCESS) {
+               goto end;
+       }
+
+       result = dns_master_loadbuffer(&buf, &db->origin, &db->origin,
+                                      db->rdclass, DNS_MASTER_ZONE, &callbacks,
+                                      db->mctx);
+       if (debug) {
+               fprintf(stderr, "loadbuffer: %s\n", isc_result_totext(result));
+       }
+       result = dns_db_endload(db, &callbacks);
+       if (debug) {
+               fprintf(stderr, "endload: %s\n", isc_result_totext(result));
+       }
+
+end:
+       dns_db_detach(&db);
+       isc_mem_destroy(&mctx);
+       return (0);
+}
diff --git a/fuzz/dns_master_load.in/date.db b/fuzz/dns_master_load.in/date.db
new file mode 100644 (file)
index 0000000..62dd456
--- /dev/null
@@ -0,0 +1,21 @@
+$TTL 300       ; 5 minutes
+@                      SOA     mname1. . (
+                               2000062101 ; serial
+                               20         ; refresh (20 seconds)
+                               20         ; retry (20 seconds)
+                               1814400    ; expire (3 weeks)
+                               3600       ; minimum (1 hour)
+                               )
+                       NS      a1
+$DATE 20210101000000
+
+a1             123     A       \# 4 0A000001
+a2             456     A       \# 4 0A000001
+
+txt1                   TXT     \# 6 0568656C6C6F
+txt2                   TXT     "hello"
+txt3                   TXT     \# 6 0568656C6C6F
+txt4                   TXT     "hello"
+
+unk1                    TYPE123 \# 1 00
+unk2                   TYPE123 \# 1 00
diff --git a/fuzz/dns_master_load.in/generate.db b/fuzz/dns_master_load.in/generate.db
new file mode 100644 (file)
index 0000000..8c2053d
--- /dev/null
@@ -0,0 +1,10 @@
+$ORIGIN .
+$TTL   120
+@              SOA     tld4.  hostmaster.ns.tld4. ( 1 3600 1200 604800 60 )
+               NS      ns
+ns             A       10.53.0.2
+$GENERATE 11-18 all$.a9 A 192.0.2.8
+$GENERATE 1-2 @ PTR SERVER$.EXAMPLE.
+$GENERATE 1-7 $ CNAME $.0
+$GENERATE 17-27 HOST-$ A 1.2.3.$
+$GENERATE 277-288 HOST-$ MX "0 ."
diff --git a/fuzz/dns_master_load.in/include.db b/fuzz/dns_master_load.in/include.db
new file mode 100644 (file)
index 0000000..b83d754
--- /dev/null
@@ -0,0 +1,8 @@
+$ORIGIN .
+$TTL   120
+@              SOA     tld4.  hostmaster.ns.tld4. ( 1 3600 1200 604800 60 )
+               NS      ns
+ns             A       10.53.0.2
+$INCLUDE withoutorigin
+$INCLUDE withoutorigin origin
+
diff --git a/fuzz/dns_master_load.in/minimal.db b/fuzz/dns_master_load.in/minimal.db
new file mode 100644 (file)
index 0000000..54177a6
--- /dev/null
@@ -0,0 +1,4 @@
+.      SOA ns1. hostmaster.warn.example. (
+           1 3600 1200 604800 3600 )
+       NS  ns1.
+ns1. 555 IN A 10.53.0.1
diff --git a/fuzz/dns_message_checksig.c b/fuzz/dns_message_checksig.c
new file mode 100644 (file)
index 0000000..74eaf9c
--- /dev/null
@@ -0,0 +1,542 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <inttypes.h>
+#include <stdbool.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+#include <isc/buffer.h>
+#include <isc/commandline.h>
+#include <isc/file.h>
+#include <isc/mem.h>
+#include <isc/print.h>
+#include <isc/result.h>
+#include <isc/string.h>
+#include <isc/util.h>
+
+#include <dns/fixedname.h>
+#include <dns/message.h>
+#include <dns/name.h>
+#include <dns/rcode.h>
+#include <dns/tsig.h>
+#include <dns/view.h>
+#include <dns/zone.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+static isc_mem_t *mctx = NULL;
+
+/*
+ *     Packet dumps of validily signed request ./IN/SOA
+ *     requests.
+ *
+ *     TSIG:
+ *
+ *     0x0000:  600b 0900 006a 1140 0000 0000 0000 0000
+ *     0x0010:  0000 0000 0000 0001 0000 0000 0000 0000
+ *     0x0020:  0000 0000 0000 0001 cc88 0035 006a 007d
+ *     0x0030:  1dfa 0000 0001 0000 0000 0001 0000 0600
+ *     0x0040:  0108 7473 6967 2d6b 6579 0000 fa00 ff00
+ *     0x0050:  0000 0000 3d0b 686d 6163 2d73 6861 3235
+ *     0x0060:  3600 0000 622a cce1 012c 0020 224d 5807
+ *     0x0070:  648d 1400 9d8e fc1c d049 55e9 cc90 2187
+ *     0x0080:  3b5f af5c 8899 dc27 c8df b34b 1dfa 0000
+ *     0x0090:  0000
+ *
+ *     SIG(0):
+ *
+ *     0x0000:  6004 0e00 013f 1140 0000 0000 0000 0000
+ *     0x0010:  0000 0000 0000 0001 0000 0000 0000 0000
+ *     0x0020:  0000 0000 0000 0001 c0a7 0035 013f 0152
+ *     0x0030:  0000 0000 0001 0000 0000 0001 0000 0600
+ *     0x0040:  0100 0018 00ff 0000 0000 011b 0000 0800
+ *     0x0050:  0000 0000 622a ce0d 622a cbb5 da71 0773
+ *     0x0060:  6967 306b 6579 0068 988b 27bf 5c89 5270
+ *     0x0070:  c5ba ea8b 2e10 0512 9b44 48d3 69de b7ec
+ *     0x0080:  7c67 15f3 6bc7 b0dc 277b e8f1 6979 4c89
+ *     0x0090:  149a 0203 30a1 c0b7 a711 ee8a 8d90 ebb9
+ *     0x00a0:  9e33 dd65 33d5 5d1d 90db cf9c bb6a b346
+ *     0x00b0:  568f a399 71d7 c877 616d 2fb7 0f86 963f
+ *     0x00c0:  aa00 850d 180a 9f83 cd4b d115 c79f 64c9
+ *     0x00d0:  ff05 e751 6810 28b3 2249 c4ba 2d8d 57ba
+ *     0x00e0:  9aad f1fc b34e c237 9465 04fd fe4d 19c9
+ *     0x00f0:  2368 ec8e 7097 eaea e067 2b9c 06eb c383
+ *     0x0100:  e901 a11e 606b 4cce c12a 0e57 8c09 b7cb
+ *     0x0110:  23bb ec05 b68b 1852 9288 b665 fe89 cf62
+ *     0x0120:  0a41 5e5a acbe 6903 cbb7 e7b6 cab4 e4a2
+ *     0x0130:  b98f 884f c09d 5b39 c695 c84c 9a92 f110
+ *     0x0140:  ccc3 f2ee 313f a2a1 1cda 5aa2 faec d593
+ *     0x0150:  4514 724a 868f 94b9 0547 4dc9 7b73 c85e
+ *     0x0160:  544c 73d4 e892 f9
+ */
+
+#define HMACSHA256 "\x0bhmac-sha256"
+
+static isc_stdtime_t fuzztime = 0x622acce1;
+static dns_view_t *view = NULL;
+static dns_tsigkey_t *tsigkey = NULL;
+static dns_tsig_keyring_t *ring = NULL;
+static dns_tsig_keyring_t *emptyring = NULL;
+static char *wd = NULL;
+static char template[] = "/tmp/dns-message-checksig-XXXXXX";
+
+static char f1[] = "Ksig0key.+008+55921.key";
+static char c1[] = "sig0key. IN KEY 512 3 8 "
+                  "AwEAAa22lgHi1vAbQvu5ETdTrm2H8rwga9tvyMa6LFiSDyevLvSv0Uo5 "
+                  "uvfrXnxaLdtBMts6e1Ly2piSH9JRbOGMNibOK4EXWhWAn8MII4SWgQAs "
+                  "bFwtiz4HyPn2wScrUQdo8DocKiQJBanesr7vDO8fdA6Rg1e0yAtSeNti "
+                  "e8avx46/HJa6CFs3CoE0sf6oOFSxM954AgCBTXOGNBt1Nt3Bhfqt2qyA "
+                  "TLFii5K1jLDTZDVkoiyDXL1M7wcTwKf9METgj1eQmH3GGlRM/OJ/j8xk "
+                  "ZiFGbL3cipWdiH48031jiV2hlc92mKn8Ya0d9AN6c44piza/JSFydZXw "
+                  "sY32nxzjDbs=\n";
+
+static char f2[] = "Ksig0key.+008+55921.private";
+static char c2[] = "Private-key-format: v1.3\n\
+Algorithm: 8 (RSASHA256)\n\
+Modulus: rbaWAeLW8BtC+7kRN1OubYfyvCBr22/IxrosWJIPJ68u9K/RSjm69+tefFot20Ey2zp7UvLamJIf0lFs4Yw2Js4rgRdaFYCfwwgjhJaBACxsXC2LPgfI+fbBJytRB2jwOhwqJAkFqd6yvu8M7x90DpGDV7TIC1J422J7xq/Hjr8clroIWzcKgTSx/qg4VLEz3ngCAIFNc4Y0G3U23cGF+q3arIBMsWKLkrWMsNNkNWSiLINcvUzvBxPAp/0wROCPV5CYfcYaVEz84n+PzGRmIUZsvdyKlZ2IfjzTfWOJXaGVz3aYqfxhrR30A3pzjimLNr8lIXJ1lfCxjfafHOMNuw==\n\
+PublicExponent: AQAB\n\
+PrivateExponent: GDfclFkR5ToFGH9rMTRMnP73Q5dzjLgkx4vyHcuzKtxcvAans4+hNj+NazckAy2E+mpzV2j95TJ4wZjSM2RvB5xLwBIc4Dg6oyAHL6Ikoae6gw64cHFOaYb808n8CyqWqfX+QWAz9sRSVZXnTuPViX3A+svR7ejVak9Bzr1NTDm0DFlrhaKVCYA++dKVZerfuNiXT/jQvrc4wMCa7WWsfLsFO8aTNkEhqUnmS9c5VYgr7MkCV4ENDBcISpQc9wElI0hl12QPaSj8iSdk9liYp+HTiOxOyp6BGGuecKAoQijMwrZy4qExdOxvowptll8+nZLtwGRn/un/xvIZY5OLAQ==\n\
+Prime1: ww3C6jwnrLQik/zxSgC0KuqgHq68cCjiRjwK2/euzs7NkMevFpXvV0cWO8x1/wKC1mszVLsUaKTvH6fzRsXfz5MPihzNzUYFwvobKVLserSxEwHNk+FKUU+q07Kf8WWnCqX5nX9QzVG1q4J8Q44N49I5S480jHLGYbyLZrEYMQE=\n\
+Prime2: 4/3Ozq/8vRgcO4bieFs4CbZR7C98HiTi65SiLBIKY09mDfCleZI0uurAYBluZJgHS5AC5cdyHFuJr3uKxvD+Mgdlru40U6cSCEdK7HAhyUGZUndWl28wyMEB6Kke1/owxVn0S4RKLPOgFI2668H6JObaqXf0wyY89RdVQP6VQrs=\n\
+Exponent1: Tbr9MyVX1j5PDVSev5P6OKQZvUB7PeM9ESo6VaCl3CqTxx+cic6ke86LcLcxSrewdkxwP1LydiVMWfwvOcP/RhRf+/Uwmp5OC35qNpSiQuAhNObiCw2b9T1fYU/s52FQKTEtgXNMOxZV5IxyguVoaaLMTG08TsAqiKZ/kyP99QE=\n\
+Exponent2: Q4qSNKrwLbixzHS2LL+hR0dK17RtiaSV0QKUVIf3qdoAusp6yxwkIOegnBeMm6JqLtl38kh2pq37iRAJWcxVEc8dMYiB2fJZpjgwmwDREYUsfcC611vqUN7UyO8pIwSMZDq045ZKPyzhVJV0NZmemEYHq0LNMO7oCheiewGwiDc=\n\
+Coefficient: T2u/J4NgyO+OqoLpXBIpTBzqrvDk8tb0feYgsp5d16hHvbXxNkMUR8cI07RdbI9HnEldtmhAnbQ6SvFiy2YYjpw/1Fz2WwdxRqLaDV7UlhrT+CqltvU9d/N/xThBNKDa23Wf5Vat+HRiLHSgzsY1PseVCWN+g4azuK2D8+DLeHE=\n\
+Created: 20220311073606\n\
+Publish: 20220311073606\n\
+Activate: 20220311073606\n";
+
+static char f3[] = "sig0key.db";
+static char c3[] = "sig0key. 0 IN SOA . . 0 0 0 0 0\n\
+sig0key. 0 IN NS .\n\
+sig0key. 0 IN KEY 512 3 8 AwEAAa22lgHi1vAbQvu5ETdTrm2H8rwga9tvyMa6LFiSDyevLvSv0Uo5 uvfrXnxaLdtBMts6e1Ly2piSH9JRbOGMNibOK4EXWhWAn8MII4SWgQAs bFwtiz4HyPn2wScrUQdo8DocKiQJBanesr7vDO8fdA6Rg1e0yAtSeNti e8avx46/HJa6CFs3CoE0sf6oOFSxM954AgCBTXOGNBt1Nt3Bhfqt2qyA TLFii5K1jLDTZDVkoiyDXL1M7wcTwKf9METgj1eQmH3GGlRM/OJ/j8xk ZiFGbL3cipWdiH48031jiV2hlc92mKn8Ya0d9AN6c44piza/JSFydZXw sY32nxzjDbs=\n";
+
+static bool destroy_dst = false;
+
+static void
+cleanup(void) {
+       char pathbuf[PATH_MAX];
+       char *pwd = getcwd(pathbuf, sizeof(pathbuf));
+
+       if (view != NULL) {
+               dns_view_detach(&view);
+       }
+       if (tsigkey != NULL) {
+               dns_tsigkey_detach(&tsigkey);
+       }
+       if (ring != NULL) {
+               dns_tsigkeyring_detach(&ring);
+       }
+       if (emptyring != NULL) {
+               dns_tsigkeyring_detach(&emptyring);
+       }
+       if (destroy_dst) {
+               dst_lib_destroy();
+       }
+       if (mctx != NULL) {
+               isc_mem_detach(&mctx);
+       }
+       if (wd != NULL && chdir(wd) == 0) {
+               if (remove(f1) != 0) {
+                       fprintf(stderr, "remove(%s) failed\n", f1);
+               }
+               if (remove(f2) != 0) {
+                       fprintf(stderr, "remove(%s) failed\n", f2);
+               }
+               if (remove(f3) != 0) {
+                       fprintf(stderr, "remove(%s) failed\n", f3);
+               }
+               /*
+                * Restore working directory if possible before cleaning
+                * up the key directory.  This will help with any other
+                * cleanup routines and if this code is ever run under
+                * Windows as the directory should not be in use when
+                * rmdir() is called.
+                */
+               if (pwd != NULL && chdir(pwd) != 0) {
+                       fprintf(stderr, "can't restore working directory: %s\n",
+                               pwd);
+               }
+               if (rmdir(wd) != 0) {
+                       fprintf(stderr, "rmdir(%s) failed\n", wd);
+               }
+       } else {
+               fprintf(stderr, "cleanup of %s failed\n", wd ? wd : "(null)");
+       }
+}
+
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       isc_result_t result;
+       dns_fixedname_t fixed;
+       dns_name_t *name = dns_fixedname_initname(&fixed);
+       unsigned char secret[16] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+                                    0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+                                    0xff, 0xff, 0xff, 0xff };
+       dns_zone_t *zone = NULL;
+       char pathbuf[PATH_MAX];
+       FILE *fd;
+
+       atexit(cleanup);
+
+       wd = mkdtemp(template);
+       if (wd == NULL) {
+               fprintf(stderr, "mkdtemp failed\n");
+               return (1);
+       }
+
+       snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f1);
+       fd = fopen(pathbuf, "w");
+       if (fd == NULL) {
+               fprintf(stderr, "fopen(%s) failed\n", pathbuf);
+               return (1);
+       }
+       fputs(c1, fd);
+       fclose(fd);
+
+       snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f2);
+       fd = fopen(pathbuf, "w");
+       if (fd == NULL) {
+               fprintf(stderr, "fopen(%s) failed\n", pathbuf);
+               return (1);
+       }
+       fputs(c2, fd);
+       fclose(fd);
+
+       snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f3);
+       fd = fopen(pathbuf, "w");
+       if (fd == NULL) {
+               fprintf(stderr, "fopen(%s) failed\n", pathbuf);
+               return (1);
+       }
+       fputs(c3, fd);
+       fclose(fd);
+
+       isc_mem_create(&mctx);
+
+       result = dst_lib_init(mctx, NULL);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dst_lib_init failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+       destroy_dst = true;
+
+       result = dns_view_create(mctx, dns_rdataclass_in, "view", &view);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_view_create failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_tsigkeyring_create(mctx, &ring);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_tsigkeyring_create failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_tsigkeyring_create(mctx, &emptyring);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_tsigkeyring_create failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_name_fromstring(name, "tsig-key", 0, NULL);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_name_fromstring failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_tsigkey_create(name, dns_tsig_hmacsha256_name, secret,
+                                   sizeof(secret), false, NULL, 0, 0, mctx,
+                                   ring, &tsigkey);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_tsigkey_create failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_name_fromstring(name, "sig0key", 0, NULL);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_name_fromstring failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_zone_create(&zone, mctx);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_zone_create failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_zone_setorigin(zone, name);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_zone_setorigin failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       dns_zone_setclass(zone, view->rdclass);
+       dns_zone_settype(zone, dns_zone_primary);
+
+       result = dns_zone_setkeydirectory(zone, wd);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_zone_setkeydirectory failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_zone_setfile(zone, pathbuf, dns_masterformat_text,
+                                 &dns_master_style_default);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_zone_setfile failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_zone_load(zone, false);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_zone_load failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       result = dns_view_addzone(view, zone);
+       if (result != ISC_R_SUCCESS) {
+               fprintf(stderr, "dns_view_addzone failed: %s\n",
+                       isc_result_totext(result));
+               return (1);
+       }
+
+       dns_view_freeze(view);
+
+       dns_zone_detach(&zone);
+
+       return (0);
+}
+
+static isc_result_t
+create_message(dns_message_t **messagep, const uint8_t *data, size_t size,
+              bool addasig, bool addtsig) {
+       isc_result_t result;
+       dns_message_t *message = NULL;
+       isc_buffer_t b;
+       static unsigned char buf[65535];
+
+       isc_buffer_init(&b, buf, sizeof(buf));
+
+       /* Message ID */
+       isc_buffer_putuint16(&b, 0);
+
+       /* QR, Opcode, other flags = 0, rcode = 0 */
+       isc_buffer_putuint16(&b, (*data & 0x1f) << 11);
+       /* Counts */
+       isc_buffer_putuint16(&b, 1);
+       isc_buffer_putuint16(&b, 0);
+       isc_buffer_putuint16(&b, 0);
+       isc_buffer_putuint16(&b, addasig ? 1 : 0);
+
+       /* Question ./IN/SOA */
+       isc_buffer_putuint8(&b, 0);
+       isc_buffer_putuint16(&b, 6);
+       isc_buffer_putuint16(&b, 1);
+
+       if (addasig) {
+               /* Signature */
+               if (addtsig) {
+                       const unsigned char keyname[] = "\x08tsig-key";
+                       isc_buffer_putmem(&b, keyname, sizeof(keyname));
+                       isc_buffer_putuint16(&b, dns_rdatatype_tsig);
+                       isc_buffer_putuint16(&b, dns_rdataclass_any);
+               } else {
+                       isc_buffer_putuint8(&b, 0); /* '.' */
+                       isc_buffer_putuint16(&b, dns_rdatatype_sig);
+                       isc_buffer_putuint16(&b, dns_rdataclass_in);
+               }
+               isc_buffer_putuint32(&b, 0); /* ttl */
+               data++;
+               size--;
+               if (size > isc_buffer_availablelength(&b) - 2) {
+                       size = isc_buffer_availablelength(&b) - 2;
+               }
+               isc_buffer_putuint16(&b, size);
+               isc_buffer_putmem(&b, data, size);
+       }
+
+       dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &message);
+
+       result = dns_message_parse(message, &b, 0);
+       if (debug) {
+               fprintf(stderr, "dns_message_parse => %s\n",
+                       isc_result_totext(result));
+       }
+       if (result != ISC_R_SUCCESS) {
+               dns_message_detach(&message);
+       } else {
+               if (debug) {
+                       char text[200000];
+                       isc_buffer_init(&b, text, sizeof(text));
+
+                       result = dns_message_totext(
+                               message, &dns_master_style_debug, 0, &b);
+                       if (result == ISC_R_SUCCESS) {
+                               fprintf(stderr, "%.*s", (int)b.used, text);
+                       } else {
+                               fprintf(stderr, "dns_message_totext => %s\n",
+                                       isc_result_totext(result));
+                       }
+               }
+               *messagep = message;
+       }
+       return (result);
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_result_t result;
+       dns_message_t *message = NULL;
+       unsigned char query_tsig[23 + 32 + 6] = { 0 };
+       bool addasig = false;
+       bool addtime = false;
+       bool addtsig = false;
+       bool setquerytsig = false;
+       bool settsigkey = false;
+       bool subtime = false;
+       bool withring = false;
+       bool withview = false;
+
+       /*
+        * The first 2 octets affect setup.
+        * Octet 1 determines whether a signature is added and which type
+        * (addasig, addtsig), whether time should be adjusted (addtime,
+        * subtime), whether dns_message_setquerytsig and dns_message_settsigkey
+        * have been called, whether there is a keyring available with the
+        * TSIG key or a view is defined.
+        *
+        * The second octet defines if the message is a response and the
+        * opcode.
+        */
+       if (size > 65535 || size < 2) {
+               return (0);
+       }
+
+       addasig = (*data & 0x80) != 0;
+       addtime = (*data & 0x40) != 0;
+       addtsig = (*data & 0x20) != 0;
+       setquerytsig = (*data & 0x10) != 0;
+       settsigkey = (*data & 0x08) != 0;
+       subtime = (*data & 0x04) != 0;
+       withring = (*data & 0x02) != 0;
+       withview = (*data & 0x01) != 0;
+
+       data++;
+       size--;
+
+       if (debug) {
+               fprintf(stderr,
+                       "addasig=%u addtime=%u addtsig=%u setquerytsig=%u "
+                       "settsigkey=%u subtime=%u withring=%u\nwithview=%u\n",
+                       addasig, addtime, addtsig, setquerytsig, settsigkey,
+                       subtime, withring, withview);
+       }
+
+       result = create_message(&message, data, size, addasig, addtsig);
+       if (result != ISC_R_SUCCESS) {
+               return (0);
+       }
+
+       /*
+        * Make time calculations consistent.
+        */
+       message->fuzzing = 1;
+       message->fuzztime = fuzztime;
+       if (addtime) {
+               message->fuzztime += 1200;
+       }
+       if (subtime) {
+               message->fuzztime -= 1200;
+       }
+
+       if ((message->flags & DNS_MESSAGEFLAG_QR) != 0) {
+               if (setquerytsig) {
+                       isc_buffer_t b;
+                       unsigned char hmacname[] = HMACSHA256;
+                       unsigned char hmacvalue[32] = {
+                               0x22, 0x4d, 0x58, 0x07, 0x64, 0x8d, 0x14, 0x00,
+                               0x9d, 0x8e, 0xfc, 0x1c, 0xd0, 0x49, 0x55, 0xe9,
+                               0xcc, 0x90, 0x21, 0x87, 0x3b, 0x5f, 0xaf, 0x5c,
+                               0x88, 0x99, 0xdc, 0x27, 0xc8, 0xdf, 0xb3, 0x4b
+                       };
+
+                       /*
+                        * Valid TSIG rdata for tsig-key over a plain
+                        * DNS QUERY for ./SOA/IN with no flags set.
+                        */
+                       isc_buffer_init(&b, query_tsig, sizeof(query_tsig));
+                       isc_buffer_putmem(&b, hmacname, sizeof(hmacname));
+                       isc_buffer_putuint16(&b, 0);          /* time high */
+                       isc_buffer_putuint32(&b, 0x622abec0); /* time low */
+                       isc_buffer_putuint16(&b, 300);        /* Fudge */
+                       isc_buffer_putuint16(&b, 32);         /* Mac Length */
+                       /* Mac */
+                       isc_buffer_putmem(&b, hmacvalue, 32);
+                       isc_buffer_putuint16(&b, 7674); /* Original Id */
+                       isc_buffer_putuint16(&b, 0);    /* Error */
+                       isc_buffer_putuint16(&b, 0);    /* Other len */
+
+                       dns_message_setquerytsig(message, &b);
+               }
+       }
+
+       if (settsigkey) {
+               result = dns_message_settsigkey(message, tsigkey);
+               if (debug) {
+                       fprintf(stderr, "dns_message_settsigkey => %s\n",
+                               isc_result_totext(result));
+               }
+       }
+
+       dns_view_setkeyring(view, withring ? ring : emptyring);
+
+       result = dns_message_checksig(message, withview ? view : NULL);
+       if (debug) {
+               char textbuf[64];
+               isc_buffer_t b;
+
+               fprintf(stderr, "dns_message_checksig => %s\n",
+                       isc_result_totext(result));
+               isc_buffer_init(&b, textbuf, sizeof(textbuf));
+               dns_tsigrcode_totext(message->tsigstatus, &b);
+               fprintf(stderr, "tsigstatus=%.*s\n", (int)b.used, textbuf);
+               isc_buffer_init(&b, textbuf, sizeof(textbuf));
+               dns_tsigrcode_totext(message->sig0status, &b);
+               fprintf(stderr, "sig0status=%.*s\n", (int)b.used, textbuf);
+       }
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+
+cleanup:
+       if (message != NULL) {
+               dns_message_detach(&message);
+       }
+
+       return (0);
+}
diff --git a/fuzz/dns_message_checksig.in/issue-3547 b/fuzz/dns_message_checksig.in/issue-3547
new file mode 100644 (file)
index 0000000..2384427
Binary files /dev/null and b/fuzz/dns_message_checksig.in/issue-3547 differ
diff --git a/fuzz/dns_message_checksig.in/sig0 b/fuzz/dns_message_checksig.in/sig0
new file mode 100644 (file)
index 0000000..61fbeb3
Binary files /dev/null and b/fuzz/dns_message_checksig.in/sig0 differ
diff --git a/fuzz/dns_message_checksig.in/tsig b/fuzz/dns_message_checksig.in/tsig
new file mode 100644 (file)
index 0000000..38d040b
Binary files /dev/null and b/fuzz/dns_message_checksig.in/tsig differ
diff --git a/fuzz/dns_message_checksig.in/tsig-reply b/fuzz/dns_message_checksig.in/tsig-reply
new file mode 100644 (file)
index 0000000..f9fe237
Binary files /dev/null and b/fuzz/dns_message_checksig.in/tsig-reply differ
diff --git a/fuzz/dns_message_parse.c b/fuzz/dns_message_parse.c
new file mode 100644 (file)
index 0000000..c4a8fca
--- /dev/null
@@ -0,0 +1,190 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <inttypes.h>
+#include <stdbool.h>
+#include <stdlib.h>
+
+#include <isc/buffer.h>
+#include <isc/commandline.h>
+#include <isc/file.h>
+#include <isc/mem.h>
+#include <isc/print.h>
+#include <isc/result.h>
+#include <isc/string.h>
+#include <isc/util.h>
+
+#include <dns/message.h>
+#include <dns/result.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+static isc_mem_t *mctx = NULL;
+static uint8_t *output = NULL;
+static size_t output_len = 1024;
+static uint8_t render_buf[64 * 1024 - 1];
+
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       isc_mem_create(&mctx);
+       output = isc_mem_get(mctx, output_len);
+
+       return (0);
+}
+
+static isc_result_t
+parse_message(isc_buffer_t *input, dns_message_t **messagep) {
+       isc_result_t result;
+       dns_message_t *message = NULL;
+
+       dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &message);
+
+       result = dns_message_parse(message, input, DNS_MESSAGEPARSE_BESTEFFORT);
+       if (result == DNS_R_RECOVERABLE) {
+               result = ISC_R_SUCCESS;
+       }
+
+       if (result == ISC_R_SUCCESS && messagep != NULL) {
+               *messagep = message;
+       } else {
+               dns_message_detach(&message);
+       }
+
+       return (result);
+}
+
+static isc_result_t
+print_message(dns_message_t *message) {
+       isc_result_t result;
+       isc_buffer_t buffer;
+
+       do {
+               isc_buffer_init(&buffer, output, output_len);
+               result = dns_message_totext(message, &dns_master_style_debug, 0,
+                                           &buffer);
+               if (result == ISC_R_NOSPACE) {
+                       isc_mem_put(mctx, output, output_len);
+                       output_len *= 2;
+                       output = isc_mem_get(mctx, output_len);
+                       continue;
+               }
+       } while (result == ISC_R_NOSPACE);
+
+       if (debug) {
+               fprintf(stderr, "%.*s\n", (int)isc_buffer_usedlength(&buffer),
+                       output);
+       }
+
+       return (result);
+}
+
+#define CHECKRESULT(r, f)                 \
+       {                                 \
+               r = (f);                  \
+               if (r != ISC_R_SUCCESS) { \
+                       goto cleanup;     \
+               }                         \
+       }
+
+static isc_result_t
+render_message(dns_message_t **messagep) {
+       isc_result_t result;
+       dns_message_t *message = *messagep;
+       isc_buffer_t buffer;
+       dns_compress_t cctx;
+
+       isc_buffer_init(&buffer, render_buf, sizeof(render_buf));
+
+       message->from_to_wire = DNS_MESSAGE_INTENTRENDER;
+       for (size_t i = 0; i < DNS_SECTION_MAX; i++) {
+               message->counts[i] = 0;
+       }
+
+       result = dns_compress_init(&cctx, -1, mctx);
+       if (result != ISC_R_SUCCESS) {
+               return (result);
+       }
+       CHECKRESULT(result, dns_message_renderbegin(message, &cctx, &buffer));
+
+       CHECKRESULT(result, dns_message_rendersection(message,
+                                                     DNS_SECTION_QUESTION, 0));
+
+       CHECKRESULT(result,
+                   dns_message_rendersection(message, DNS_SECTION_ANSWER, 0));
+       CHECKRESULT(result, dns_message_rendersection(
+                                   message, DNS_SECTION_AUTHORITY, 0));
+
+       CHECKRESULT(result, dns_message_rendersection(
+                                   message, DNS_SECTION_ADDITIONAL, 0));
+
+       dns_message_renderend(message);
+
+       dns_compress_invalidate(&cctx);
+
+       message->from_to_wire = DNS_MESSAGE_INTENTPARSE;
+
+       dns_message_detach(messagep);
+
+       result = parse_message(&buffer, messagep);
+
+       return (result);
+
+cleanup:
+       dns_compress_invalidate(&cctx);
+       return (result);
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_buffer_t buffer;
+       isc_result_t result;
+       dns_message_t *message = NULL;
+
+       if (size > 65535) {
+               return (0);
+       }
+
+       isc_buffer_constinit(&buffer, data, size);
+       isc_buffer_add(&buffer, size);
+       isc_buffer_setactive(&buffer, size);
+
+       result = parse_message(&buffer, &message);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+
+       result = print_message(message);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+
+       result = render_message(&message);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+
+       result = print_message(message);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+
+cleanup:
+       if (message != NULL) {
+               dns_message_detach(&message);
+       }
+
+       return (0);
+}
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0a3807b25967.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0a3807b25967.pkt
new file mode 100644 (file)
index 0000000..fa241be
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0a3807b25967.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0af8cee23ed0.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0af8cee23ed0.pkt
new file mode 100644 (file)
index 0000000..8b26d52
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0af8cee23ed0.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0b7820813414.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0b7820813414.pkt
new file mode 100644 (file)
index 0000000..23714ac
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0b7820813414.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0bf0754502aa.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0bf0754502aa.pkt
new file mode 100644 (file)
index 0000000..6df7469
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0bf0754502aa.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0c6c1a0dcff1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0c6c1a0dcff1.pkt
new file mode 100644 (file)
index 0000000..412026d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0c6c1a0dcff1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0ccf2a7952ea.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0ccf2a7952ea.pkt
new file mode 100644 (file)
index 0000000..e6ea06e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0ccf2a7952ea.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0dd75ab2e3f8.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0dd75ab2e3f8.pkt
new file mode 100644 (file)
index 0000000..ac32a23
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0dd75ab2e3f8.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0de21419c7e7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0de21419c7e7.pkt
new file mode 100644 (file)
index 0000000..513080f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0de21419c7e7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-0eb553c77d2b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-0eb553c77d2b.pkt
new file mode 100644 (file)
index 0000000..0529689
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-0eb553c77d2b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1295da719914.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1295da719914.pkt
new file mode 100644 (file)
index 0000000..7067548
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1295da719914.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-131eff5d4a89.pkt b/fuzz/dns_message_parse.in/bind-systemtest-131eff5d4a89.pkt
new file mode 100644 (file)
index 0000000..ce2be9b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-131eff5d4a89.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1359eec5b20f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1359eec5b20f.pkt
new file mode 100644 (file)
index 0000000..9b28729
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1359eec5b20f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1410836d8ef5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1410836d8ef5.pkt
new file mode 100644 (file)
index 0000000..76c2f36
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1410836d8ef5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-15df237e7dd9.pkt b/fuzz/dns_message_parse.in/bind-systemtest-15df237e7dd9.pkt
new file mode 100644 (file)
index 0000000..9f8f50c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-15df237e7dd9.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-17ecbe4230d4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-17ecbe4230d4.pkt
new file mode 100644 (file)
index 0000000..baa9ffc
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-17ecbe4230d4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1818a0a13743.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1818a0a13743.pkt
new file mode 100644 (file)
index 0000000..0bb9f90
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1818a0a13743.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-191a3716d274.pkt b/fuzz/dns_message_parse.in/bind-systemtest-191a3716d274.pkt
new file mode 100644 (file)
index 0000000..b8a8732
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-191a3716d274.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1dcb02bb39d7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1dcb02bb39d7.pkt
new file mode 100644 (file)
index 0000000..3016eab
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1dcb02bb39d7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-1f25e4467b28.pkt b/fuzz/dns_message_parse.in/bind-systemtest-1f25e4467b28.pkt
new file mode 100644 (file)
index 0000000..0468373
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-1f25e4467b28.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-20aeb1ee571c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-20aeb1ee571c.pkt
new file mode 100644 (file)
index 0000000..6658f4e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-20aeb1ee571c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-20cc218f4c3a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-20cc218f4c3a.pkt
new file mode 100644 (file)
index 0000000..cea967e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-20cc218f4c3a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-240335cece1a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-240335cece1a.pkt
new file mode 100644 (file)
index 0000000..4179a68
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-240335cece1a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-24b76ef067ec.pkt b/fuzz/dns_message_parse.in/bind-systemtest-24b76ef067ec.pkt
new file mode 100644 (file)
index 0000000..1d602fb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-24b76ef067ec.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-25305bdb78fe.pkt b/fuzz/dns_message_parse.in/bind-systemtest-25305bdb78fe.pkt
new file mode 100644 (file)
index 0000000..a4ed4a4
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-25305bdb78fe.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-258334bb1e33.pkt b/fuzz/dns_message_parse.in/bind-systemtest-258334bb1e33.pkt
new file mode 100644 (file)
index 0000000..20ed674
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-258334bb1e33.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-25c433073c4b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-25c433073c4b.pkt
new file mode 100644 (file)
index 0000000..51511ce
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-25c433073c4b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-261086edd389.pkt b/fuzz/dns_message_parse.in/bind-systemtest-261086edd389.pkt
new file mode 100644 (file)
index 0000000..b6813ee
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-261086edd389.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-27326d79a152.pkt b/fuzz/dns_message_parse.in/bind-systemtest-27326d79a152.pkt
new file mode 100644 (file)
index 0000000..a89e600
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-27326d79a152.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-275812229fac.pkt b/fuzz/dns_message_parse.in/bind-systemtest-275812229fac.pkt
new file mode 100644 (file)
index 0000000..e44e67a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-275812229fac.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-27b65637a4b5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-27b65637a4b5.pkt
new file mode 100644 (file)
index 0000000..fbd0266
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-27b65637a4b5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2938c8b1445b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2938c8b1445b.pkt
new file mode 100644 (file)
index 0000000..10c9fb8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2938c8b1445b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-297325ce1762.pkt b/fuzz/dns_message_parse.in/bind-systemtest-297325ce1762.pkt
new file mode 100644 (file)
index 0000000..87d11f7
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-297325ce1762.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2b665de93d1a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2b665de93d1a.pkt
new file mode 100644 (file)
index 0000000..b53d901
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2b665de93d1a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2c08fd4dcb3d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2c08fd4dcb3d.pkt
new file mode 100644 (file)
index 0000000..ed4ac06
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2c08fd4dcb3d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2c60032e840c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2c60032e840c.pkt
new file mode 100644 (file)
index 0000000..8e6483c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2c60032e840c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2d1dc7672bf2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2d1dc7672bf2.pkt
new file mode 100644 (file)
index 0000000..152221e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2d1dc7672bf2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2d83e44b2f92.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2d83e44b2f92.pkt
new file mode 100644 (file)
index 0000000..d04af06
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2d83e44b2f92.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2e70e80504cd.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2e70e80504cd.pkt
new file mode 100644 (file)
index 0000000..731cbbb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2e70e80504cd.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-2fe12f38215a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-2fe12f38215a.pkt
new file mode 100644 (file)
index 0000000..3599fe4
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-2fe12f38215a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3230c27a3abe.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3230c27a3abe.pkt
new file mode 100644 (file)
index 0000000..1a881cd
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3230c27a3abe.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-32392b7ae8a7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-32392b7ae8a7.pkt
new file mode 100644 (file)
index 0000000..4ea06bb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-32392b7ae8a7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-34a3a57c8ae4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-34a3a57c8ae4.pkt
new file mode 100644 (file)
index 0000000..99747d8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-34a3a57c8ae4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3655812d837d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3655812d837d.pkt
new file mode 100644 (file)
index 0000000..ad14dcf
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3655812d837d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3a137dd7b503.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3a137dd7b503.pkt
new file mode 100644 (file)
index 0000000..b2b121e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3a137dd7b503.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3cd5f858a00d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3cd5f858a00d.pkt
new file mode 100644 (file)
index 0000000..d62ec40
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3cd5f858a00d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3d25900ba1b1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3d25900ba1b1.pkt
new file mode 100644 (file)
index 0000000..1f48c36
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3d25900ba1b1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-3e3cd0560440.pkt b/fuzz/dns_message_parse.in/bind-systemtest-3e3cd0560440.pkt
new file mode 100644 (file)
index 0000000..5bca44e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-3e3cd0560440.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4266b7ed6d6a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4266b7ed6d6a.pkt
new file mode 100644 (file)
index 0000000..18f3eeb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4266b7ed6d6a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-43c68a804d35.pkt b/fuzz/dns_message_parse.in/bind-systemtest-43c68a804d35.pkt
new file mode 100644 (file)
index 0000000..31eb489
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-43c68a804d35.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-43d462943ca3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-43d462943ca3.pkt
new file mode 100644 (file)
index 0000000..047755c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-43d462943ca3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4434df5061b3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4434df5061b3.pkt
new file mode 100644 (file)
index 0000000..52e4284
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4434df5061b3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-478b516e964a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-478b516e964a.pkt
new file mode 100644 (file)
index 0000000..48ec1d6
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-478b516e964a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-49bb8231b39d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-49bb8231b39d.pkt
new file mode 100644 (file)
index 0000000..ea41ef6
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-49bb8231b39d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4aa7978e4119.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4aa7978e4119.pkt
new file mode 100644 (file)
index 0000000..8edd764
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4aa7978e4119.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4bfca9820e10.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4bfca9820e10.pkt
new file mode 100644 (file)
index 0000000..5eb1018
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4bfca9820e10.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4dffd19c9afb.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4dffd19c9afb.pkt
new file mode 100644 (file)
index 0000000..33adf07
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4dffd19c9afb.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4ec445e05f0c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4ec445e05f0c.pkt
new file mode 100644 (file)
index 0000000..f66e4ad
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4ec445e05f0c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4f2cbb78045a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4f2cbb78045a.pkt
new file mode 100644 (file)
index 0000000..167fb85
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4f2cbb78045a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-4f6cc6a12505.pkt b/fuzz/dns_message_parse.in/bind-systemtest-4f6cc6a12505.pkt
new file mode 100644 (file)
index 0000000..3b42c12
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-4f6cc6a12505.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5169d80942f3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5169d80942f3.pkt
new file mode 100644 (file)
index 0000000..cfff240
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5169d80942f3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5296a02226d1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5296a02226d1.pkt
new file mode 100644 (file)
index 0000000..6add1d7
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5296a02226d1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-53ed4e7a29d6.pkt b/fuzz/dns_message_parse.in/bind-systemtest-53ed4e7a29d6.pkt
new file mode 100644 (file)
index 0000000..6bdb998
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-53ed4e7a29d6.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-54215b8b2b8e.pkt b/fuzz/dns_message_parse.in/bind-systemtest-54215b8b2b8e.pkt
new file mode 100644 (file)
index 0000000..13f1f94
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-54215b8b2b8e.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5634ef9088ee.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5634ef9088ee.pkt
new file mode 100644 (file)
index 0000000..1c7559d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5634ef9088ee.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5b6b63dd703f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5b6b63dd703f.pkt
new file mode 100644 (file)
index 0000000..6534975
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5b6b63dd703f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5b9da3da657a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5b9da3da657a.pkt
new file mode 100644 (file)
index 0000000..612f263
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5b9da3da657a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5c0ccc6b77bf.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5c0ccc6b77bf.pkt
new file mode 100644 (file)
index 0000000..551a8a1
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5c0ccc6b77bf.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5d979f41d421.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5d979f41d421.pkt
new file mode 100644 (file)
index 0000000..5c3e152
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5d979f41d421.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-5d9c67d54aec.pkt b/fuzz/dns_message_parse.in/bind-systemtest-5d9c67d54aec.pkt
new file mode 100644 (file)
index 0000000..b9f3a12
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-5d9c67d54aec.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6303ab0cdf88.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6303ab0cdf88.pkt
new file mode 100644 (file)
index 0000000..cc7883c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6303ab0cdf88.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-630463d00dac.pkt b/fuzz/dns_message_parse.in/bind-systemtest-630463d00dac.pkt
new file mode 100644 (file)
index 0000000..667b3fb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-630463d00dac.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-63be4d8a1d68.pkt b/fuzz/dns_message_parse.in/bind-systemtest-63be4d8a1d68.pkt
new file mode 100644 (file)
index 0000000..a2b448e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-63be4d8a1d68.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-63d46cd58251.pkt b/fuzz/dns_message_parse.in/bind-systemtest-63d46cd58251.pkt
new file mode 100644 (file)
index 0000000..7848ce1
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-63d46cd58251.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6400baa777ad.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6400baa777ad.pkt
new file mode 100644 (file)
index 0000000..ca94795
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6400baa777ad.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-641b1b826491.pkt b/fuzz/dns_message_parse.in/bind-systemtest-641b1b826491.pkt
new file mode 100644 (file)
index 0000000..ae0ed27
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-641b1b826491.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-646e3c9711e4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-646e3c9711e4.pkt
new file mode 100644 (file)
index 0000000..94549cd
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-646e3c9711e4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6491f22d5f5b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6491f22d5f5b.pkt
new file mode 100644 (file)
index 0000000..3596183
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6491f22d5f5b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-651968863bc9.pkt b/fuzz/dns_message_parse.in/bind-systemtest-651968863bc9.pkt
new file mode 100644 (file)
index 0000000..a094b9f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-651968863bc9.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-66197bb21ca4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-66197bb21ca4.pkt
new file mode 100644 (file)
index 0000000..bf212e0
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-66197bb21ca4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-68f9625e0aec.pkt b/fuzz/dns_message_parse.in/bind-systemtest-68f9625e0aec.pkt
new file mode 100644 (file)
index 0000000..13f1d6b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-68f9625e0aec.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-69362e75d3be.pkt b/fuzz/dns_message_parse.in/bind-systemtest-69362e75d3be.pkt
new file mode 100644 (file)
index 0000000..88d1b1a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-69362e75d3be.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6a5efb202ad8.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6a5efb202ad8.pkt
new file mode 100644 (file)
index 0000000..43ef8a5
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6a5efb202ad8.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6a93e44599bf.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6a93e44599bf.pkt
new file mode 100644 (file)
index 0000000..7a23e5a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6a93e44599bf.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6be5dd262530.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6be5dd262530.pkt
new file mode 100644 (file)
index 0000000..4c81487
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6be5dd262530.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6c7b6f8c8afd.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6c7b6f8c8afd.pkt
new file mode 100644 (file)
index 0000000..1b6584b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6c7b6f8c8afd.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-6e4e87d71bc5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-6e4e87d71bc5.pkt
new file mode 100644 (file)
index 0000000..e26f2a5
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-6e4e87d71bc5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-702a6a8add74.pkt b/fuzz/dns_message_parse.in/bind-systemtest-702a6a8add74.pkt
new file mode 100644 (file)
index 0000000..247cd19
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-702a6a8add74.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-72266173e768.pkt b/fuzz/dns_message_parse.in/bind-systemtest-72266173e768.pkt
new file mode 100644 (file)
index 0000000..80cf805
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-72266173e768.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-75ae672e4cae.pkt b/fuzz/dns_message_parse.in/bind-systemtest-75ae672e4cae.pkt
new file mode 100644 (file)
index 0000000..04abe16
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-75ae672e4cae.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-787896107cf3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-787896107cf3.pkt
new file mode 100644 (file)
index 0000000..4df9323
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-787896107cf3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-78ab38d04283.pkt b/fuzz/dns_message_parse.in/bind-systemtest-78ab38d04283.pkt
new file mode 100644 (file)
index 0000000..2f3ad47
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-78ab38d04283.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-795193a1db70.pkt b/fuzz/dns_message_parse.in/bind-systemtest-795193a1db70.pkt
new file mode 100644 (file)
index 0000000..6ab46ac
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-795193a1db70.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-797d68892908.pkt b/fuzz/dns_message_parse.in/bind-systemtest-797d68892908.pkt
new file mode 100644 (file)
index 0000000..f814240
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-797d68892908.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-7b5c63ad58fb.pkt b/fuzz/dns_message_parse.in/bind-systemtest-7b5c63ad58fb.pkt
new file mode 100644 (file)
index 0000000..1b671da
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-7b5c63ad58fb.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-7d8144b4f9ac.pkt b/fuzz/dns_message_parse.in/bind-systemtest-7d8144b4f9ac.pkt
new file mode 100644 (file)
index 0000000..3f61b46
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-7d8144b4f9ac.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-7dbaeeb319be.pkt b/fuzz/dns_message_parse.in/bind-systemtest-7dbaeeb319be.pkt
new file mode 100644 (file)
index 0000000..d8b9495
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-7dbaeeb319be.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-7de0b8fa5185.pkt b/fuzz/dns_message_parse.in/bind-systemtest-7de0b8fa5185.pkt
new file mode 100644 (file)
index 0000000..93b8cdb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-7de0b8fa5185.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-805c5f9cc117.pkt b/fuzz/dns_message_parse.in/bind-systemtest-805c5f9cc117.pkt
new file mode 100644 (file)
index 0000000..af5294a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-805c5f9cc117.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-832a9ff132b4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-832a9ff132b4.pkt
new file mode 100644 (file)
index 0000000..edfdccf
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-832a9ff132b4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-836a160118ed.pkt b/fuzz/dns_message_parse.in/bind-systemtest-836a160118ed.pkt
new file mode 100644 (file)
index 0000000..015fd6c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-836a160118ed.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-83d8a26b0ba1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-83d8a26b0ba1.pkt
new file mode 100644 (file)
index 0000000..697332e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-83d8a26b0ba1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-84363927a7c4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-84363927a7c4.pkt
new file mode 100644 (file)
index 0000000..e7d4906
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-84363927a7c4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-871b17db22dc.pkt b/fuzz/dns_message_parse.in/bind-systemtest-871b17db22dc.pkt
new file mode 100644 (file)
index 0000000..6e88f20
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-871b17db22dc.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8847038e2f7d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8847038e2f7d.pkt
new file mode 100644 (file)
index 0000000..3a9b951
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8847038e2f7d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8865e3e8fc58.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8865e3e8fc58.pkt
new file mode 100644 (file)
index 0000000..62dbf02
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8865e3e8fc58.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-88861957625d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-88861957625d.pkt
new file mode 100644 (file)
index 0000000..37bd51e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-88861957625d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-89108c64d256.pkt b/fuzz/dns_message_parse.in/bind-systemtest-89108c64d256.pkt
new file mode 100644 (file)
index 0000000..4869419
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-89108c64d256.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8a50cad26a32.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8a50cad26a32.pkt
new file mode 100644 (file)
index 0000000..c05a088
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8a50cad26a32.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8bd3def5546b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8bd3def5546b.pkt
new file mode 100644 (file)
index 0000000..3b0a251
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8bd3def5546b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8c59124ecb07.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8c59124ecb07.pkt
new file mode 100644 (file)
index 0000000..f34993f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8c59124ecb07.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8df3ab8b6e61.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8df3ab8b6e61.pkt
new file mode 100644 (file)
index 0000000..bf6d423
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8df3ab8b6e61.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8dfc87b32ef5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8dfc87b32ef5.pkt
new file mode 100644 (file)
index 0000000..56ae661
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8dfc87b32ef5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8ec56dbf62d3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8ec56dbf62d3.pkt
new file mode 100644 (file)
index 0000000..7c434a9
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8ec56dbf62d3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-8fa237c06042.pkt b/fuzz/dns_message_parse.in/bind-systemtest-8fa237c06042.pkt
new file mode 100644 (file)
index 0000000..07f776e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-8fa237c06042.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-902a3c05da11.pkt b/fuzz/dns_message_parse.in/bind-systemtest-902a3c05da11.pkt
new file mode 100644 (file)
index 0000000..6645aaf
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-902a3c05da11.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-928c3456965c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-928c3456965c.pkt
new file mode 100644 (file)
index 0000000..de65fa1
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-928c3456965c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-933133e35070.pkt b/fuzz/dns_message_parse.in/bind-systemtest-933133e35070.pkt
new file mode 100644 (file)
index 0000000..fd10d4f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-933133e35070.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-935e0d54e9c9.pkt b/fuzz/dns_message_parse.in/bind-systemtest-935e0d54e9c9.pkt
new file mode 100644 (file)
index 0000000..ce54406
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-935e0d54e9c9.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9505061ee351.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9505061ee351.pkt
new file mode 100644 (file)
index 0000000..a3731cb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9505061ee351.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-968627e29186.pkt b/fuzz/dns_message_parse.in/bind-systemtest-968627e29186.pkt
new file mode 100644 (file)
index 0000000..eb854a9
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-968627e29186.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-972c76703038.pkt b/fuzz/dns_message_parse.in/bind-systemtest-972c76703038.pkt
new file mode 100644 (file)
index 0000000..902fb97
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-972c76703038.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9891a0862aac.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9891a0862aac.pkt
new file mode 100644 (file)
index 0000000..efe015a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9891a0862aac.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-98d15ca48eef.pkt b/fuzz/dns_message_parse.in/bind-systemtest-98d15ca48eef.pkt
new file mode 100644 (file)
index 0000000..3b6c61b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-98d15ca48eef.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9944d30084a1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9944d30084a1.pkt
new file mode 100644 (file)
index 0000000..a6067d3
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9944d30084a1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-99de4b1b7c38.pkt b/fuzz/dns_message_parse.in/bind-systemtest-99de4b1b7c38.pkt
new file mode 100644 (file)
index 0000000..3e9fc2f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-99de4b1b7c38.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9de0b2c0780d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9de0b2c0780d.pkt
new file mode 100644 (file)
index 0000000..4d7c29c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9de0b2c0780d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9e3af51e2bcb.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9e3af51e2bcb.pkt
new file mode 100644 (file)
index 0000000..8292d37
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9e3af51e2bcb.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9f0f1e4e817b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9f0f1e4e817b.pkt
new file mode 100644 (file)
index 0000000..23fc087
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9f0f1e4e817b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-9f48f3557a00.pkt b/fuzz/dns_message_parse.in/bind-systemtest-9f48f3557a00.pkt
new file mode 100644 (file)
index 0000000..c505745
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-9f48f3557a00.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a06ce069e6b3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a06ce069e6b3.pkt
new file mode 100644 (file)
index 0000000..de74dcd
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a06ce069e6b3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a2a5b67b76b2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a2a5b67b76b2.pkt
new file mode 100644 (file)
index 0000000..b63d219
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a2a5b67b76b2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a39dc6e6ee00.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a39dc6e6ee00.pkt
new file mode 100644 (file)
index 0000000..df2909b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a39dc6e6ee00.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a3c097b04746.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a3c097b04746.pkt
new file mode 100644 (file)
index 0000000..21a967b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a3c097b04746.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a3e871047ca3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a3e871047ca3.pkt
new file mode 100644 (file)
index 0000000..5fb3abb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a3e871047ca3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a45373b1a726.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a45373b1a726.pkt
new file mode 100644 (file)
index 0000000..04d2fe2
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a45373b1a726.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a4cb3a9bf3e7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a4cb3a9bf3e7.pkt
new file mode 100644 (file)
index 0000000..cdfdfe5
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a4cb3a9bf3e7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a62833d96a66.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a62833d96a66.pkt
new file mode 100644 (file)
index 0000000..16db8e8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a62833d96a66.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a790c5d85b6b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a790c5d85b6b.pkt
new file mode 100644 (file)
index 0000000..f35e0b8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a790c5d85b6b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a880c5517d16.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a880c5517d16.pkt
new file mode 100644 (file)
index 0000000..f4982ab
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a880c5517d16.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-a8a01fa5c284.pkt b/fuzz/dns_message_parse.in/bind-systemtest-a8a01fa5c284.pkt
new file mode 100644 (file)
index 0000000..98c71c7
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-a8a01fa5c284.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-aa6cb7a11980.pkt b/fuzz/dns_message_parse.in/bind-systemtest-aa6cb7a11980.pkt
new file mode 100644 (file)
index 0000000..85458b2
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-aa6cb7a11980.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-abfec4ff90c7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-abfec4ff90c7.pkt
new file mode 100644 (file)
index 0000000..444c7a8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-abfec4ff90c7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ac3e9300db0c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ac3e9300db0c.pkt
new file mode 100644 (file)
index 0000000..160dda0
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ac3e9300db0c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ac990a516666.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ac990a516666.pkt
new file mode 100644 (file)
index 0000000..56e0e58
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ac990a516666.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ad5d6c0d0fb9.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ad5d6c0d0fb9.pkt
new file mode 100644 (file)
index 0000000..0692541
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ad5d6c0d0fb9.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ae10c96730e8.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ae10c96730e8.pkt
new file mode 100644 (file)
index 0000000..d73829b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ae10c96730e8.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ae4a22aa552a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ae4a22aa552a.pkt
new file mode 100644 (file)
index 0000000..a1c2948
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ae4a22aa552a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-aec4625b6d42.pkt b/fuzz/dns_message_parse.in/bind-systemtest-aec4625b6d42.pkt
new file mode 100644 (file)
index 0000000..8b3a08f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-aec4625b6d42.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-aec8410bdb4f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-aec8410bdb4f.pkt
new file mode 100644 (file)
index 0000000..e55ce79
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-aec8410bdb4f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-aec8b56210a1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-aec8b56210a1.pkt
new file mode 100644 (file)
index 0000000..bffde44
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-aec8b56210a1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b12fadba475b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b12fadba475b.pkt
new file mode 100644 (file)
index 0000000..6757390
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b12fadba475b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b13de985759b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b13de985759b.pkt
new file mode 100644 (file)
index 0000000..8d580d5
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b13de985759b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b1d9f8cb59df.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b1d9f8cb59df.pkt
new file mode 100644 (file)
index 0000000..05f4a95
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b1d9f8cb59df.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b1e8adc5d017.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b1e8adc5d017.pkt
new file mode 100644 (file)
index 0000000..ff6d56b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b1e8adc5d017.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b323d823e01b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b323d823e01b.pkt
new file mode 100644 (file)
index 0000000..0c4b338
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b323d823e01b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b454cbb43d66.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b454cbb43d66.pkt
new file mode 100644 (file)
index 0000000..287ce05
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b454cbb43d66.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b46361010e76.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b46361010e76.pkt
new file mode 100644 (file)
index 0000000..8516ec2
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b46361010e76.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b4b611ab5fcc.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b4b611ab5fcc.pkt
new file mode 100644 (file)
index 0000000..644f594
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b4b611ab5fcc.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b65097187471.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b65097187471.pkt
new file mode 100644 (file)
index 0000000..ea90806
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b65097187471.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b6701c25b6e1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b6701c25b6e1.pkt
new file mode 100644 (file)
index 0000000..fb75072
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b6701c25b6e1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b6f6cd200669.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b6f6cd200669.pkt
new file mode 100644 (file)
index 0000000..d5a7728
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b6f6cd200669.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b7c5ba0f7fb0.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b7c5ba0f7fb0.pkt
new file mode 100644 (file)
index 0000000..43b46f2
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b7c5ba0f7fb0.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b88e4bb4abba.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b88e4bb4abba.pkt
new file mode 100644 (file)
index 0000000..544be04
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b88e4bb4abba.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b8bf0052fb08.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b8bf0052fb08.pkt
new file mode 100644 (file)
index 0000000..6a47f98
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b8bf0052fb08.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b9bc7f02a216.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b9bc7f02a216.pkt
new file mode 100644 (file)
index 0000000..fc80325
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b9bc7f02a216.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-b9ce7339dddc.pkt b/fuzz/dns_message_parse.in/bind-systemtest-b9ce7339dddc.pkt
new file mode 100644 (file)
index 0000000..6080965
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-b9ce7339dddc.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ba7424594a0d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ba7424594a0d.pkt
new file mode 100644 (file)
index 0000000..44d7574
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ba7424594a0d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-bc9f1f65a3c4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-bc9f1f65a3c4.pkt
new file mode 100644 (file)
index 0000000..41deba5
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-bc9f1f65a3c4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-bd736b351783.pkt b/fuzz/dns_message_parse.in/bind-systemtest-bd736b351783.pkt
new file mode 100644 (file)
index 0000000..bd4c83b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-bd736b351783.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-be76dfe66118.pkt b/fuzz/dns_message_parse.in/bind-systemtest-be76dfe66118.pkt
new file mode 100644 (file)
index 0000000..f20a74b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-be76dfe66118.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-be8375564939.pkt b/fuzz/dns_message_parse.in/bind-systemtest-be8375564939.pkt
new file mode 100644 (file)
index 0000000..e98672f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-be8375564939.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-bec0455a1678.pkt b/fuzz/dns_message_parse.in/bind-systemtest-bec0455a1678.pkt
new file mode 100644 (file)
index 0000000..4cddff8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-bec0455a1678.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-bfbfcbd33796.pkt b/fuzz/dns_message_parse.in/bind-systemtest-bfbfcbd33796.pkt
new file mode 100644 (file)
index 0000000..7819f57
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-bfbfcbd33796.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c0251ea00b00.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c0251ea00b00.pkt
new file mode 100644 (file)
index 0000000..eae53d9
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c0251ea00b00.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c10987825ecf.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c10987825ecf.pkt
new file mode 100644 (file)
index 0000000..b2b22de
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c10987825ecf.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c1cc7bab8256.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c1cc7bab8256.pkt
new file mode 100644 (file)
index 0000000..37d0aba
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c1cc7bab8256.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c254e9d16be3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c254e9d16be3.pkt
new file mode 100644 (file)
index 0000000..adfeee4
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c254e9d16be3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c2ba496f1449.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c2ba496f1449.pkt
new file mode 100644 (file)
index 0000000..3ed111a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c2ba496f1449.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c2c3333bdb6c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c2c3333bdb6c.pkt
new file mode 100644 (file)
index 0000000..05945b1
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c2c3333bdb6c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c439937029cb.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c439937029cb.pkt
new file mode 100644 (file)
index 0000000..0d6cee6
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c439937029cb.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c65ffcbdf7d0.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c65ffcbdf7d0.pkt
new file mode 100644 (file)
index 0000000..317ad1b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c65ffcbdf7d0.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c672248dc8ea.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c672248dc8ea.pkt
new file mode 100644 (file)
index 0000000..a717dc0
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c672248dc8ea.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c67977887d95.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c67977887d95.pkt
new file mode 100644 (file)
index 0000000..577c134
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c67977887d95.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c68b9538d3e4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c68b9538d3e4.pkt
new file mode 100644 (file)
index 0000000..ad3c709
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c68b9538d3e4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c7cd757cec7c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c7cd757cec7c.pkt
new file mode 100644 (file)
index 0000000..9466c99
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c7cd757cec7c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c7d81d83b94c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c7d81d83b94c.pkt
new file mode 100644 (file)
index 0000000..af14c7f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c7d81d83b94c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c8a3d0ddc61d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c8a3d0ddc61d.pkt
new file mode 100644 (file)
index 0000000..3e5557b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c8a3d0ddc61d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c8b4afeff5e2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c8b4afeff5e2.pkt
new file mode 100644 (file)
index 0000000..2097711
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c8b4afeff5e2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c968926dbec6.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c968926dbec6.pkt
new file mode 100644 (file)
index 0000000..9805704
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c968926dbec6.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c9b3f4c01ed7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c9b3f4c01ed7.pkt
new file mode 100644 (file)
index 0000000..6ffca56
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c9b3f4c01ed7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-c9e67818c18c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-c9e67818c18c.pkt
new file mode 100644 (file)
index 0000000..9db2d21
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-c9e67818c18c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-cd46ee3cac5a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-cd46ee3cac5a.pkt
new file mode 100644 (file)
index 0000000..00710b8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-cd46ee3cac5a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-cd7b9a067681.pkt b/fuzz/dns_message_parse.in/bind-systemtest-cd7b9a067681.pkt
new file mode 100644 (file)
index 0000000..f409e0d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-cd7b9a067681.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ce7878853fa2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ce7878853fa2.pkt
new file mode 100644 (file)
index 0000000..5709f85
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ce7878853fa2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-cefdad1b260f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-cefdad1b260f.pkt
new file mode 100644 (file)
index 0000000..e999c59
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-cefdad1b260f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-cf6c31a11c89.pkt b/fuzz/dns_message_parse.in/bind-systemtest-cf6c31a11c89.pkt
new file mode 100644 (file)
index 0000000..fe423f0
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-cf6c31a11c89.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d3c96f0d1490.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d3c96f0d1490.pkt
new file mode 100644 (file)
index 0000000..631dfdb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d3c96f0d1490.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d42af7b690a0.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d42af7b690a0.pkt
new file mode 100644 (file)
index 0000000..8fd1172
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d42af7b690a0.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d4af13b69f3d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d4af13b69f3d.pkt
new file mode 100644 (file)
index 0000000..f8ee4ff
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d4af13b69f3d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d527fae0755f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d527fae0755f.pkt
new file mode 100644 (file)
index 0000000..973fb58
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d527fae0755f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d52f26e4f48b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d52f26e4f48b.pkt
new file mode 100644 (file)
index 0000000..66a25b6
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d52f26e4f48b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d5eca764cd66.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d5eca764cd66.pkt
new file mode 100644 (file)
index 0000000..1a1e98d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d5eca764cd66.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d6e76abab3ad.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d6e76abab3ad.pkt
new file mode 100644 (file)
index 0000000..b0b1716
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d6e76abab3ad.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d71b9874bd1d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d71b9874bd1d.pkt
new file mode 100644 (file)
index 0000000..bb1ef20
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d71b9874bd1d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-d859bf5ce7e1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-d859bf5ce7e1.pkt
new file mode 100644 (file)
index 0000000..35b2eeb
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-d859bf5ce7e1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-dd118fa60462.pkt b/fuzz/dns_message_parse.in/bind-systemtest-dd118fa60462.pkt
new file mode 100644 (file)
index 0000000..5a6c951
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-dd118fa60462.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ddd14e3b6b59.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ddd14e3b6b59.pkt
new file mode 100644 (file)
index 0000000..563c1a7
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ddd14e3b6b59.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ddffaad18764.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ddffaad18764.pkt
new file mode 100644 (file)
index 0000000..f85d2b1
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ddffaad18764.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-de64ccbd4ce3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-de64ccbd4ce3.pkt
new file mode 100644 (file)
index 0000000..ae7b3e0
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-de64ccbd4ce3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-de9bfd253114.pkt b/fuzz/dns_message_parse.in/bind-systemtest-de9bfd253114.pkt
new file mode 100644 (file)
index 0000000..1d1f741
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-de9bfd253114.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-df0844e4d6be.pkt b/fuzz/dns_message_parse.in/bind-systemtest-df0844e4d6be.pkt
new file mode 100644 (file)
index 0000000..5972fac
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-df0844e4d6be.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-df703f24c477.pkt b/fuzz/dns_message_parse.in/bind-systemtest-df703f24c477.pkt
new file mode 100644 (file)
index 0000000..d920d91
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-df703f24c477.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-dfe1e2881ac5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-dfe1e2881ac5.pkt
new file mode 100644 (file)
index 0000000..c96dd3b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-dfe1e2881ac5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e0dfc9ad6f0f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e0dfc9ad6f0f.pkt
new file mode 100644 (file)
index 0000000..978aaf8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e0dfc9ad6f0f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e17381e39767.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e17381e39767.pkt
new file mode 100644 (file)
index 0000000..86b24e7
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e17381e39767.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e2a6cf354856.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e2a6cf354856.pkt
new file mode 100644 (file)
index 0000000..40a17f3
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e2a6cf354856.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e30893305aac.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e30893305aac.pkt
new file mode 100644 (file)
index 0000000..eca00b3
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e30893305aac.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e32409b3af66.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e32409b3af66.pkt
new file mode 100644 (file)
index 0000000..08b5623
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e32409b3af66.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e3b5d9c9fe3f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e3b5d9c9fe3f.pkt
new file mode 100644 (file)
index 0000000..6279e06
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e3b5d9c9fe3f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e3d1d67dc45d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e3d1d67dc45d.pkt
new file mode 100644 (file)
index 0000000..b5d1f36
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e3d1d67dc45d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e46fabf59388.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e46fabf59388.pkt
new file mode 100644 (file)
index 0000000..4e47d01
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e46fabf59388.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e474ce479e99.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e474ce479e99.pkt
new file mode 100644 (file)
index 0000000..1188828
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e474ce479e99.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e573b67bb9e3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e573b67bb9e3.pkt
new file mode 100644 (file)
index 0000000..5a69534
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e573b67bb9e3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e6d9636b026b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e6d9636b026b.pkt
new file mode 100644 (file)
index 0000000..2c609f6
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e6d9636b026b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e7223c7f647d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e7223c7f647d.pkt
new file mode 100644 (file)
index 0000000..b40767e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e7223c7f647d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e77695b27ad6.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e77695b27ad6.pkt
new file mode 100644 (file)
index 0000000..cc7bf5f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e77695b27ad6.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e7935935808d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e7935935808d.pkt
new file mode 100644 (file)
index 0000000..5ae2c5d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e7935935808d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e7f900a70954.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e7f900a70954.pkt
new file mode 100644 (file)
index 0000000..d005c89
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e7f900a70954.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e83789acdcc3.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e83789acdcc3.pkt
new file mode 100644 (file)
index 0000000..4c7006c
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e83789acdcc3.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e8c0eb5e12d1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e8c0eb5e12d1.pkt
new file mode 100644 (file)
index 0000000..81c7e71
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e8c0eb5e12d1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-e94e68b93183.pkt b/fuzz/dns_message_parse.in/bind-systemtest-e94e68b93183.pkt
new file mode 100644 (file)
index 0000000..e020220
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-e94e68b93183.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-eb9795edda17.pkt b/fuzz/dns_message_parse.in/bind-systemtest-eb9795edda17.pkt
new file mode 100644 (file)
index 0000000..0b82b2a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-eb9795edda17.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ebe452324465.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ebe452324465.pkt
new file mode 100644 (file)
index 0000000..8900e1d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ebe452324465.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ec39cd58be84.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ec39cd58be84.pkt
new file mode 100644 (file)
index 0000000..cd03fd4
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ec39cd58be84.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ec4a653441eb.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ec4a653441eb.pkt
new file mode 100644 (file)
index 0000000..1d47304
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ec4a653441eb.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ecdced027574.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ecdced027574.pkt
new file mode 100644 (file)
index 0000000..9cc7d99
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ecdced027574.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ed054f5982d5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ed054f5982d5.pkt
new file mode 100644 (file)
index 0000000..1d28aaf
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ed054f5982d5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-eed0dafd9dee.pkt b/fuzz/dns_message_parse.in/bind-systemtest-eed0dafd9dee.pkt
new file mode 100644 (file)
index 0000000..d648987
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-eed0dafd9dee.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f014a72684c2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f014a72684c2.pkt
new file mode 100644 (file)
index 0000000..6a1a59d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f014a72684c2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f0b4dab8ce89.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f0b4dab8ce89.pkt
new file mode 100644 (file)
index 0000000..a7e2533
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f0b4dab8ce89.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f0d0da6b96f1.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f0d0da6b96f1.pkt
new file mode 100644 (file)
index 0000000..66c2e40
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f0d0da6b96f1.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f122eda7b026.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f122eda7b026.pkt
new file mode 100644 (file)
index 0000000..f6c9c4f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f122eda7b026.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f14b5e3ef15c.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f14b5e3ef15c.pkt
new file mode 100644 (file)
index 0000000..ae85d35
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f14b5e3ef15c.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f1d418e777ae.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f1d418e777ae.pkt
new file mode 100644 (file)
index 0000000..0f7355b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f1d418e777ae.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f1e13c2d2e30.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f1e13c2d2e30.pkt
new file mode 100644 (file)
index 0000000..1544e6a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f1e13c2d2e30.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f22e479dc6d6.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f22e479dc6d6.pkt
new file mode 100644 (file)
index 0000000..392001e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f22e479dc6d6.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f273b06c78d4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f273b06c78d4.pkt
new file mode 100644 (file)
index 0000000..d23fe2b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f273b06c78d4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f437926bc6c5.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f437926bc6c5.pkt
new file mode 100644 (file)
index 0000000..a1d1c45
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f437926bc6c5.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f449e690e676.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f449e690e676.pkt
new file mode 100644 (file)
index 0000000..430983e
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f449e690e676.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f55da7de9012.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f55da7de9012.pkt
new file mode 100644 (file)
index 0000000..1dca9a4
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f55da7de9012.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f587f4c6428f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f587f4c6428f.pkt
new file mode 100644 (file)
index 0000000..6660777
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f587f4c6428f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f5bc579df1d2.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f5bc579df1d2.pkt
new file mode 100644 (file)
index 0000000..76dbd47
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f5bc579df1d2.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f60e3510f25b.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f60e3510f25b.pkt
new file mode 100644 (file)
index 0000000..c1d1efd
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f60e3510f25b.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f62bdc9dd4de.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f62bdc9dd4de.pkt
new file mode 100644 (file)
index 0000000..613fab2
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f62bdc9dd4de.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f6edebc937bd.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f6edebc937bd.pkt
new file mode 100644 (file)
index 0000000..f30ada3
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f6edebc937bd.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f76469109b02.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f76469109b02.pkt
new file mode 100644 (file)
index 0000000..d65c4fc
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f76469109b02.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f76f553f4fa0.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f76f553f4fa0.pkt
new file mode 100644 (file)
index 0000000..8900030
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f76f553f4fa0.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f797d11e3c4f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f797d11e3c4f.pkt
new file mode 100644 (file)
index 0000000..8f9651d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f797d11e3c4f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f799bb18a6b4.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f799bb18a6b4.pkt
new file mode 100644 (file)
index 0000000..e170d6a
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f799bb18a6b4.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f79a08509eca.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f79a08509eca.pkt
new file mode 100644 (file)
index 0000000..dd06110
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f79a08509eca.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f7ecd481acc7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f7ecd481acc7.pkt
new file mode 100644 (file)
index 0000000..7ae0a61
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f7ecd481acc7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f8f516ea9428.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f8f516ea9428.pkt
new file mode 100644 (file)
index 0000000..61663c8
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f8f516ea9428.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-f99e669d189d.pkt b/fuzz/dns_message_parse.in/bind-systemtest-f99e669d189d.pkt
new file mode 100644 (file)
index 0000000..239cd44
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-f99e669d189d.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fad2599d584a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fad2599d584a.pkt
new file mode 100644 (file)
index 0000000..de04626
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fad2599d584a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fb5d54dfc593.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fb5d54dfc593.pkt
new file mode 100644 (file)
index 0000000..3a47fef
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fb5d54dfc593.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fbfeae8a5a7f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fbfeae8a5a7f.pkt
new file mode 100644 (file)
index 0000000..5b7f450
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fbfeae8a5a7f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fc3efa6eb96a.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fc3efa6eb96a.pkt
new file mode 100644 (file)
index 0000000..814775b
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fc3efa6eb96a.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fd8135176e19.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fd8135176e19.pkt
new file mode 100644 (file)
index 0000000..a435c3f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fd8135176e19.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fe15124e969f.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fe15124e969f.pkt
new file mode 100644 (file)
index 0000000..0a6c56f
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fe15124e969f.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fe2b7e021de8.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fe2b7e021de8.pkt
new file mode 100644 (file)
index 0000000..fd7efe9
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fe2b7e021de8.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ff5c3d4491e7.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ff5c3d4491e7.pkt
new file mode 100644 (file)
index 0000000..bedcd9d
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ff5c3d4491e7.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-ffa6fed4d130.pkt b/fuzz/dns_message_parse.in/bind-systemtest-ffa6fed4d130.pkt
new file mode 100644 (file)
index 0000000..9afb898
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-ffa6fed4d130.pkt differ
diff --git a/fuzz/dns_message_parse.in/bind-systemtest-fff2972f8fa9.pkt b/fuzz/dns_message_parse.in/bind-systemtest-fff2972f8fa9.pkt
new file mode 100644 (file)
index 0000000..5ef82fe
Binary files /dev/null and b/fuzz/dns_message_parse.in/bind-systemtest-fff2972f8fa9.pkt differ
diff --git a/fuzz/dns_message_parse.in/cz.nic-24.pkt b/fuzz/dns_message_parse.in/cz.nic-24.pkt
new file mode 100644 (file)
index 0000000..1ec4877
Binary files /dev/null and b/fuzz/dns_message_parse.in/cz.nic-24.pkt differ
diff --git a/fuzz/dns_message_parse.in/cz.nic-25.pkt b/fuzz/dns_message_parse.in/cz.nic-25.pkt
new file mode 100644 (file)
index 0000000..f419385
Binary files /dev/null and b/fuzz/dns_message_parse.in/cz.nic-25.pkt differ
diff --git a/fuzz/dns_message_parse.in/cz.nic-26.pkt b/fuzz/dns_message_parse.in/cz.nic-26.pkt
new file mode 100644 (file)
index 0000000..cc8e236
Binary files /dev/null and b/fuzz/dns_message_parse.in/cz.nic-26.pkt differ
diff --git a/fuzz/dns_message_parse.in/cz.nic-3.pkt b/fuzz/dns_message_parse.in/cz.nic-3.pkt
new file mode 100644 (file)
index 0000000..dfa0076
Binary files /dev/null and b/fuzz/dns_message_parse.in/cz.nic-3.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-176998.pkt b/fuzz/dns_message_parse.in/seed-176998.pkt
new file mode 100644 (file)
index 0000000..32820d1
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-176998.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-209207.pkt b/fuzz/dns_message_parse.in/seed-209207.pkt
new file mode 100644 (file)
index 0000000..ed8ab50
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-209207.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-27166.pkt b/fuzz/dns_message_parse.in/seed-27166.pkt
new file mode 100644 (file)
index 0000000..147b87e
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-27166.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-289417.pkt b/fuzz/dns_message_parse.in/seed-289417.pkt
new file mode 100644 (file)
index 0000000..3912fc1
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-289417.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-345158.pkt b/fuzz/dns_message_parse.in/seed-345158.pkt
new file mode 100644 (file)
index 0000000..0f57f4c
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-345158.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-357147.pkt b/fuzz/dns_message_parse.in/seed-357147.pkt
new file mode 100644 (file)
index 0000000..f659629
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-357147.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-438052.pkt b/fuzz/dns_message_parse.in/seed-438052.pkt
new file mode 100644 (file)
index 0000000..08fde3a
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-438052.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-443089.pkt b/fuzz/dns_message_parse.in/seed-443089.pkt
new file mode 100644 (file)
index 0000000..bcac48a
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-443089.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-553818.pkt b/fuzz/dns_message_parse.in/seed-553818.pkt
new file mode 100644 (file)
index 0000000..54b04fc
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-553818.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-577278.pkt b/fuzz/dns_message_parse.in/seed-577278.pkt
new file mode 100644 (file)
index 0000000..4bb211c
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-577278.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-608943.pkt b/fuzz/dns_message_parse.in/seed-608943.pkt
new file mode 100644 (file)
index 0000000..b6eb429
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-608943.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-735918.pkt b/fuzz/dns_message_parse.in/seed-735918.pkt
new file mode 100644 (file)
index 0000000..c7f95c8
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-735918.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-738261.pkt b/fuzz/dns_message_parse.in/seed-738261.pkt
new file mode 100644 (file)
index 0000000..9cdbcd0
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-738261.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-743121.pkt b/fuzz/dns_message_parse.in/seed-743121.pkt
new file mode 100644 (file)
index 0000000..588f13a
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-743121.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-782674.pkt b/fuzz/dns_message_parse.in/seed-782674.pkt
new file mode 100644 (file)
index 0000000..ca4ad5f
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-782674.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-818733.pkt b/fuzz/dns_message_parse.in/seed-818733.pkt
new file mode 100644 (file)
index 0000000..b561586
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-818733.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-868934.pkt b/fuzz/dns_message_parse.in/seed-868934.pkt
new file mode 100644 (file)
index 0000000..2e256c3
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-868934.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-893515.pkt b/fuzz/dns_message_parse.in/seed-893515.pkt
new file mode 100644 (file)
index 0000000..73a554e
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-893515.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-894122.pkt b/fuzz/dns_message_parse.in/seed-894122.pkt
new file mode 100644 (file)
index 0000000..8e05c89
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-894122.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-928203.pkt b/fuzz/dns_message_parse.in/seed-928203.pkt
new file mode 100644 (file)
index 0000000..5ca8968
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-928203.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-94044.pkt b/fuzz/dns_message_parse.in/seed-94044.pkt
new file mode 100644 (file)
index 0000000..7f7f716
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-94044.pkt differ
diff --git a/fuzz/dns_message_parse.in/seed-951706.pkt b/fuzz/dns_message_parse.in/seed-951706.pkt
new file mode 100644 (file)
index 0000000..0d905dc
Binary files /dev/null and b/fuzz/dns_message_parse.in/seed-951706.pkt differ
index a9db90f16f6a791f5aadb9abaee24079a2b73f63..ba9c7ab2a21f9d5caf962b8307bca0d2bbc7d4d6 100644 (file)
 #include <dns/fixedname.h>
 #include <dns/name.h>
 
+#include "fuzz.h"
+
+bool debug = false;
+
 int
-LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       return (0);
+}
 
 int
 LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
        isc_buffer_t buf;
        isc_result_t result;
        dns_fixedname_t origin;
-       char *de_const;
-
-       if (size < 5) {
-               return (0);
-       }
 
        dns_fixedname_init(&origin);
-       DE_CONST(data, de_const);
-       isc_buffer_init(&buf, (void *)de_const, size);
+
+       isc_buffer_constinit(&buf, data, size);
        isc_buffer_add(&buf, size);
+       isc_buffer_setactive(&buf, size);
+
        result = dns_name_fromtext(dns_fixedname_name(&origin), &buf,
                                   dns_rootname, 0, NULL);
-       UNUSED(result);
+       if (debug) {
+               fprintf(stderr, "dns_name_fromtext: %s\n",
+                       isc_result_totext(result));
+       }
        return (0);
 }
diff --git a/fuzz/dns_rdata_fromtext.c b/fuzz/dns_rdata_fromtext.c
new file mode 100644 (file)
index 0000000..82adc21
--- /dev/null
@@ -0,0 +1,150 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <stdbool.h>
+#include <stdlib.h>
+
+#include <isc/buffer.h>
+#include <isc/commandline.h>
+#include <isc/lex.h>
+#include <isc/mem.h>
+#include <isc/print.h>
+#include <isc/string.h>
+#include <isc/util.h>
+
+#include <dns/fixedname.h>
+#include <dns/name.h>
+#include <dns/rdata.h>
+#include <dns/rdataclass.h>
+#include <dns/rdatatype.h>
+#include <dns/result.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+int
+LLVMFuzzerInitialize(int *argc, char ***argv) {
+       UNUSED(argc);
+       UNUSED(argv);
+       return (0);
+}
+
+/* following code was copied from named-rrchecker */
+isc_lexspecials_t specials = { ['('] = 1, [')'] = 1, ['"'] = 1 };
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_mem_t *mctx = NULL;
+       isc_mem_create(&mctx);
+
+       isc_lex_t *lex = NULL;
+       isc_token_t token;
+
+       isc_result_t result;
+       unsigned int options = 0;
+       dns_rdatatype_t rdtype;
+       dns_rdataclass_t rdclass;
+
+       char wiredata[64 * 1024];
+       isc_buffer_t wirebuf;
+       isc_buffer_init(&wirebuf, wiredata, sizeof(wiredata));
+
+       dns_rdata_t rdata = DNS_RDATA_INIT;
+       dns_name_t *name = NULL;
+
+       isc_buffer_t inbuf;
+       isc_buffer_constinit(&inbuf, data, size);
+       isc_buffer_add(&inbuf, size);
+       isc_buffer_setactive(&inbuf, size);
+
+       RUNTIME_CHECK(isc_lex_create(mctx, 256, &lex) == ISC_R_SUCCESS);
+
+       /*
+        * Set up to lex DNS master file.
+        */
+       isc_lex_setspecials(lex, specials);
+       options = ISC_LEXOPT_EOL;
+       isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
+
+       RUNTIME_CHECK(isc_lex_openbuffer(lex, &inbuf) == ISC_R_SUCCESS);
+
+       result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, &token);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+       if (token.type == isc_tokentype_eof) {
+               goto cleanup;
+       }
+       if (token.type == isc_tokentype_eol) {
+               goto cleanup;
+       }
+       /*
+        * Get class.
+        */
+       if (token.type == isc_tokentype_number) {
+               if (token.value.as_ulong > 0xffff) {
+                       goto cleanup;
+               }
+               rdclass = (dns_rdataclass_t)token.value.as_ulong;
+       } else if (token.type == isc_tokentype_string) {
+               result = dns_rdataclass_fromtext(&rdclass,
+                                                &token.value.as_textregion);
+               if (result != ISC_R_SUCCESS) {
+                       goto cleanup;
+               }
+       } else {
+               goto cleanup;
+       }
+       result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, &token);
+       if (result != ISC_R_SUCCESS) {
+               goto cleanup;
+       }
+       if (token.type == isc_tokentype_eol) {
+               goto cleanup;
+       }
+       if (token.type == isc_tokentype_eof) {
+               goto cleanup;
+       }
+
+       /*
+        * Get type.
+        */
+       if (token.type == isc_tokentype_number) {
+               if (token.value.as_ulong > 0xffff) {
+                       goto cleanup;
+               }
+               rdtype = (dns_rdatatype_t)token.value.as_ulong;
+       } else if (token.type == isc_tokentype_string) {
+               result = dns_rdatatype_fromtext(&rdtype,
+                                               &token.value.as_textregion);
+               if (result != ISC_R_SUCCESS) {
+                       goto cleanup;
+               }
+       } else {
+               goto cleanup;
+       }
+
+       result = dns_rdata_fromtext(&rdata, rdclass, rdtype, lex, name, 0, mctx,
+                                   &wirebuf, NULL);
+       if (debug) {
+               fprintf(stderr, "dns_rdata_fromtext: %s\n",
+                       isc_result_totext(result));
+       }
+
+cleanup:
+       isc_lex_close(lex);
+       isc_lex_destroy(&lex);
+       isc_mem_destroy(&mctx);
+       return (0);
+}
diff --git a/fuzz/dns_rdata_fromtext.in/afsdb b/fuzz/dns_rdata_fromtext.in/afsdb
new file mode 100644 (file)
index 0000000..8fec03d
--- /dev/null
@@ -0,0 +1 @@
+IN AFSDB       0 hostname
diff --git a/fuzz/dns_rdata_fromtext.in/amtrelay b/fuzz/dns_rdata_fromtext.in/amtrelay
new file mode 100644 (file)
index 0000000..d43121d
--- /dev/null
@@ -0,0 +1 @@
+IN AMTRELAY 0 0 3 example.net.
diff --git a/fuzz/dns_rdata_fromtext.in/any_tsig b/fuzz/dns_rdata_fromtext.in/any_tsig
new file mode 100644 (file)
index 0000000..bcf7fae
--- /dev/null
@@ -0,0 +1 @@
+ANY TSIG SAMPLE-ALG.EXAMPLE. 853804800 300 4 MTIzNA== 666 0 2 MDA=
diff --git a/fuzz/dns_rdata_fromtext.in/avc b/fuzz/dns_rdata_fromtext.in/avc
new file mode 100644 (file)
index 0000000..362efca
--- /dev/null
@@ -0,0 +1 @@
+IN AVC foo:bar
diff --git a/fuzz/dns_rdata_fromtext.in/caa b/fuzz/dns_rdata_fromtext.in/caa
new file mode 100644 (file)
index 0000000..fa09a60
--- /dev/null
@@ -0,0 +1 @@
+IN CAA 128 tbs "Unknown"
diff --git a/fuzz/dns_rdata_fromtext.in/cdnskey b/fuzz/dns_rdata_fromtext.in/cdnskey
new file mode 100644 (file)
index 0000000..0f9fac7
--- /dev/null
@@ -0,0 +1 @@
+IN CDNSKEY     512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV        sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg       a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= )
diff --git a/fuzz/dns_rdata_fromtext.in/cds b/fuzz/dns_rdata_fromtext.in/cds
new file mode 100644 (file)
index 0000000..88d6121
--- /dev/null
@@ -0,0 +1 @@
+IN CDS 30795 1 1 (             310D27F4D82C1FC2400704EA9939FE6E1CEA            A3B9 )
diff --git a/fuzz/dns_rdata_fromtext.in/cert b/fuzz/dns_rdata_fromtext.in/cert
new file mode 100644 (file)
index 0000000..669ff44
--- /dev/null
@@ -0,0 +1 @@
+IN CERT        65534 65535 254 (       MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45I     kskceFGgiWCn/GxHhai6VAuHAoNUz4YoU1t     VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
diff --git a/fuzz/dns_rdata_fromtext.in/ch_a b/fuzz/dns_rdata_fromtext.in/ch_a
new file mode 100644 (file)
index 0000000..bbadbf3
--- /dev/null
@@ -0,0 +1 @@
+CH A   hostname. 1234
diff --git a/fuzz/dns_rdata_fromtext.in/class1234_type65533 b/fuzz/dns_rdata_fromtext.in/class1234_type65533
new file mode 100644 (file)
index 0000000..ed30fb3
--- /dev/null
@@ -0,0 +1 @@
+CLASS1234 TYPE65533    \# 6 010203040506
diff --git a/fuzz/dns_rdata_fromtext.in/cname b/fuzz/dns_rdata_fromtext.in/cname
new file mode 100644 (file)
index 0000000..c9e00bf
--- /dev/null
@@ -0,0 +1 @@
+IN CNAME       cname-target
diff --git a/fuzz/dns_rdata_fromtext.in/csync b/fuzz/dns_rdata_fromtext.in/csync
new file mode 100644 (file)
index 0000000..8d440f8
--- /dev/null
@@ -0,0 +1 @@
+IN CSYNC       0 0 A NS AAAA
diff --git a/fuzz/dns_rdata_fromtext.in/dlv b/fuzz/dns_rdata_fromtext.in/dlv
new file mode 100644 (file)
index 0000000..9e39e6f
--- /dev/null
@@ -0,0 +1 @@
+IN DLV 30795 1 1 (             310D27F4D82C1FC2400704EA9939FE6E1CEA            A3B9 )
diff --git a/fuzz/dns_rdata_fromtext.in/dname b/fuzz/dns_rdata_fromtext.in/dname
new file mode 100644 (file)
index 0000000..2274043
--- /dev/null
@@ -0,0 +1 @@
+IN DNAME       dname-target.
diff --git a/fuzz/dns_rdata_fromtext.in/dnskey b/fuzz/dns_rdata_fromtext.in/dnskey
new file mode 100644 (file)
index 0000000..93e85c3
--- /dev/null
@@ -0,0 +1 @@
+IN DNSKEY      512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV        sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg       a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= )
diff --git a/fuzz/dns_rdata_fromtext.in/doa b/fuzz/dns_rdata_fromtext.in/doa
new file mode 100644 (file)
index 0000000..13b2b9b
--- /dev/null
@@ -0,0 +1 @@
+IN DOA 0 1 2 "" aHR0cHM6Ly93d3cuaXNjLm9yZy8=
diff --git a/fuzz/dns_rdata_fromtext.in/ds b/fuzz/dns_rdata_fromtext.in/ds
new file mode 100644 (file)
index 0000000..616ae14
--- /dev/null
@@ -0,0 +1 @@
+IN DS  12892 5 1 7AA4A3F416C2F2391FB7AB0D434F762CD62D1390
diff --git a/fuzz/dns_rdata_fromtext.in/eui48 b/fuzz/dns_rdata_fromtext.in/eui48
new file mode 100644 (file)
index 0000000..9a506bd
--- /dev/null
@@ -0,0 +1 @@
+IN EUI48       01-23-45-67-89-ab
diff --git a/fuzz/dns_rdata_fromtext.in/eui64 b/fuzz/dns_rdata_fromtext.in/eui64
new file mode 100644 (file)
index 0000000..ce06023
--- /dev/null
@@ -0,0 +1 @@
+IN EUI64       01-23-45-67-89-ab-cd-ef
diff --git a/fuzz/dns_rdata_fromtext.in/gid b/fuzz/dns_rdata_fromtext.in/gid
new file mode 100644 (file)
index 0000000..c72ccf9
--- /dev/null
@@ -0,0 +1 @@
+IN GID \# 1 03
diff --git a/fuzz/dns_rdata_fromtext.in/gpos b/fuzz/dns_rdata_fromtext.in/gpos
new file mode 100644 (file)
index 0000000..7c4c050
--- /dev/null
@@ -0,0 +1 @@
+IN GPOS    -22.6882 116.8652 250.0
diff --git a/fuzz/dns_rdata_fromtext.in/hinfo b/fuzz/dns_rdata_fromtext.in/hinfo
new file mode 100644 (file)
index 0000000..c43de49
--- /dev/null
@@ -0,0 +1 @@
+IN HINFO       "Generic PC clone" "NetBSD-1.4"
diff --git a/fuzz/dns_rdata_fromtext.in/hip b/fuzz/dns_rdata_fromtext.in/hip
new file mode 100644 (file)
index 0000000..385a522
--- /dev/null
@@ -0,0 +1 @@
+IN HIP ( 2 200100107B1A74DF365639CC39F1D578                            AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D )
diff --git a/fuzz/dns_rdata_fromtext.in/hs_a b/fuzz/dns_rdata_fromtext.in/hs_a
new file mode 100644 (file)
index 0000000..4d9da2c
--- /dev/null
@@ -0,0 +1 @@
+HS     A       192.0.2.1
diff --git a/fuzz/dns_rdata_fromtext.in/in_a b/fuzz/dns_rdata_fromtext.in/in_a
new file mode 100644 (file)
index 0000000..f9ffd67
--- /dev/null
@@ -0,0 +1 @@
+IN A   255.255.255.255
diff --git a/fuzz/dns_rdata_fromtext.in/in_a6 b/fuzz/dns_rdata_fromtext.in/in_a6
new file mode 100644 (file)
index 0000000..8e91e2a
--- /dev/null
@@ -0,0 +1 @@
+IN A6  127 ::1 foo.
diff --git a/fuzz/dns_rdata_fromtext.in/in_aaaa b/fuzz/dns_rdata_fromtext.in/in_aaaa
new file mode 100644 (file)
index 0000000..2341d4f
--- /dev/null
@@ -0,0 +1 @@
+IN AAAA    fd92:7065:b8e:ffff::5
diff --git a/fuzz/dns_rdata_fromtext.in/in_apl b/fuzz/dns_rdata_fromtext.in/in_apl
new file mode 100644 (file)
index 0000000..dc32bd0
--- /dev/null
@@ -0,0 +1 @@
+IN APL !1:10.0.0.1/32 1:10.0.0.0/24
diff --git a/fuzz/dns_rdata_fromtext.in/in_atma b/fuzz/dns_rdata_fromtext.in/in_atma
new file mode 100644 (file)
index 0000000..1febbf4
--- /dev/null
@@ -0,0 +1 @@
+IN ATMA        +61.2.0000.0000
diff --git a/fuzz/dns_rdata_fromtext.in/in_dhcid b/fuzz/dns_rdata_fromtext.in/in_dhcid
new file mode 100644 (file)
index 0000000..0732152
--- /dev/null
@@ -0,0 +1 @@
+IN DHCID       ( AAABxLmlskllE0MVjd57zHcWmEH3pCQ6V       ytcKD//7es/deY= )
diff --git a/fuzz/dns_rdata_fromtext.in/in_eid b/fuzz/dns_rdata_fromtext.in/in_eid
new file mode 100644 (file)
index 0000000..e18f225
--- /dev/null
@@ -0,0 +1 @@
+IN EID 12 89 AB
diff --git a/fuzz/dns_rdata_fromtext.in/in_kx b/fuzz/dns_rdata_fromtext.in/in_kx
new file mode 100644 (file)
index 0000000..48c0e15
--- /dev/null
@@ -0,0 +1 @@
+IN KX  10 kdc
diff --git a/fuzz/dns_rdata_fromtext.in/in_nimloc b/fuzz/dns_rdata_fromtext.in/in_nimloc
new file mode 100644 (file)
index 0000000..41c6f7b
--- /dev/null
@@ -0,0 +1 @@
+IN NIMLOC      12 89 AB
diff --git a/fuzz/dns_rdata_fromtext.in/in_nsap b/fuzz/dns_rdata_fromtext.in/in_nsap
new file mode 100644 (file)
index 0000000..8a7a927
--- /dev/null
@@ -0,0 +1 @@
+IN NSAP  0x47.0005.80.005a00.0000.0001.e133.ffffff000164.00
diff --git a/fuzz/dns_rdata_fromtext.in/in_nsap_ptr b/fuzz/dns_rdata_fromtext.in/in_nsap_ptr
new file mode 100644 (file)
index 0000000..dc683c7
--- /dev/null
@@ -0,0 +1 @@
+IN NSAP-PTR foo.
diff --git a/fuzz/dns_rdata_fromtext.in/in_px b/fuzz/dns_rdata_fromtext.in/in_px
new file mode 100644 (file)
index 0000000..1e6c98b
--- /dev/null
@@ -0,0 +1 @@
+IN PX  65535 foo. bar.
diff --git a/fuzz/dns_rdata_fromtext.in/in_srv b/fuzz/dns_rdata_fromtext.in/in_srv
new file mode 100644 (file)
index 0000000..ed3f929
--- /dev/null
@@ -0,0 +1 @@
+IN SRV 65535 65535 65535  old-slow-box
diff --git a/fuzz/dns_rdata_fromtext.in/in_wks b/fuzz/dns_rdata_fromtext.in/in_wks
new file mode 100644 (file)
index 0000000..a9c9658
--- /dev/null
@@ -0,0 +1 @@
+IN WKS 10.0.0.1 tcp telnet ftp 0 1 2
diff --git a/fuzz/dns_rdata_fromtext.in/ipseckey b/fuzz/dns_rdata_fromtext.in/ipseckey
new file mode 100644 (file)
index 0000000..14dbb7f
--- /dev/null
@@ -0,0 +1 @@
+IN IPSECKEY    ( 10 3 2                  mygateway.example.com.                  AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ== )
diff --git a/fuzz/dns_rdata_fromtext.in/isdn b/fuzz/dns_rdata_fromtext.in/isdn
new file mode 100644 (file)
index 0000000..c3cc968
--- /dev/null
@@ -0,0 +1 @@
+IN ISDN        "isdn-address" "subaddress"
diff --git a/fuzz/dns_rdata_fromtext.in/key b/fuzz/dns_rdata_fromtext.in/key
new file mode 100644 (file)
index 0000000..91323a8
--- /dev/null
@@ -0,0 +1 @@
+IN KEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV        sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg       a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= )
diff --git a/fuzz/dns_rdata_fromtext.in/keydata b/fuzz/dns_rdata_fromtext.in/keydata
new file mode 100644 (file)
index 0000000..b67e3aa
--- /dev/null
@@ -0,0 +1 @@
+IN KEYDATA 20210101000000 20380101000000 20380101000000 KSK DNSSEC ED448 ZXh0cmE=
diff --git a/fuzz/dns_rdata_fromtext.in/l32 b/fuzz/dns_rdata_fromtext.in/l32
new file mode 100644 (file)
index 0000000..c315e9c
--- /dev/null
@@ -0,0 +1 @@
+IN L32 10 1.2.3.4
diff --git a/fuzz/dns_rdata_fromtext.in/l64 b/fuzz/dns_rdata_fromtext.in/l64
new file mode 100644 (file)
index 0000000..673f0a2
--- /dev/null
@@ -0,0 +1 @@
+IN L64 10 0014:4fff:ff20:ee64
diff --git a/fuzz/dns_rdata_fromtext.in/loc b/fuzz/dns_rdata_fromtext.in/loc
new file mode 100644 (file)
index 0000000..413a5a8
--- /dev/null
@@ -0,0 +1 @@
+IN LOC         60 09 00.000 N 24 39 00.000 E 10.00m 20.00m (     2000.00m 20.00m )
diff --git a/fuzz/dns_rdata_fromtext.in/lp b/fuzz/dns_rdata_fromtext.in/lp
new file mode 100644 (file)
index 0000000..1b21752
--- /dev/null
@@ -0,0 +1 @@
+IN LP  10 example.net.
diff --git a/fuzz/dns_rdata_fromtext.in/mb b/fuzz/dns_rdata_fromtext.in/mb
new file mode 100644 (file)
index 0000000..adc9470
--- /dev/null
@@ -0,0 +1 @@
+IN MB madname.
diff --git a/fuzz/dns_rdata_fromtext.in/md b/fuzz/dns_rdata_fromtext.in/md
new file mode 100644 (file)
index 0000000..f6996e0
--- /dev/null
@@ -0,0 +1 @@
+IN MD  madname
diff --git a/fuzz/dns_rdata_fromtext.in/mf b/fuzz/dns_rdata_fromtext.in/mf
new file mode 100644 (file)
index 0000000..3dc3bc2
--- /dev/null
@@ -0,0 +1 @@
+IN MF  madname
diff --git a/fuzz/dns_rdata_fromtext.in/mg b/fuzz/dns_rdata_fromtext.in/mg
new file mode 100644 (file)
index 0000000..83ff2bc
--- /dev/null
@@ -0,0 +1 @@
+IN MG  mgmname
diff --git a/fuzz/dns_rdata_fromtext.in/minfo b/fuzz/dns_rdata_fromtext.in/minfo
new file mode 100644 (file)
index 0000000..e64d925
--- /dev/null
@@ -0,0 +1 @@
+IN MINFO       rmailbx emailbx
diff --git a/fuzz/dns_rdata_fromtext.in/mr b/fuzz/dns_rdata_fromtext.in/mr
new file mode 100644 (file)
index 0000000..ca058b8
--- /dev/null
@@ -0,0 +1 @@
+IN MR  mrname
diff --git a/fuzz/dns_rdata_fromtext.in/mx b/fuzz/dns_rdata_fromtext.in/mx
new file mode 100644 (file)
index 0000000..3d1dcdb
--- /dev/null
@@ -0,0 +1 @@
+IN MX  10 mail
diff --git a/fuzz/dns_rdata_fromtext.in/naptr b/fuzz/dns_rdata_fromtext.in/naptr
new file mode 100644 (file)
index 0000000..2489600
--- /dev/null
@@ -0,0 +1 @@
+IN NAPTR   65535 65535 "blurgh" "blorf" "blllbb" foo.
diff --git a/fuzz/dns_rdata_fromtext.in/nid b/fuzz/dns_rdata_fromtext.in/nid
new file mode 100644 (file)
index 0000000..f011125
--- /dev/null
@@ -0,0 +1 @@
+IN NID 10 0014:4fff:ff20:ee64
diff --git a/fuzz/dns_rdata_fromtext.in/ninfo b/fuzz/dns_rdata_fromtext.in/ninfo
new file mode 100644 (file)
index 0000000..4d58d28
--- /dev/null
@@ -0,0 +1 @@
+IN NINFO       "foo\032bar"
diff --git a/fuzz/dns_rdata_fromtext.in/ns b/fuzz/dns_rdata_fromtext.in/ns
new file mode 100644 (file)
index 0000000..da0bca2
--- /dev/null
@@ -0,0 +1 @@
+IN NS  ns43
diff --git a/fuzz/dns_rdata_fromtext.in/nsec b/fuzz/dns_rdata_fromtext.in/nsec
new file mode 100644 (file)
index 0000000..8cbd1e8
--- /dev/null
@@ -0,0 +1 @@
+IN NSEC        a.secure.nil. ( NS SOA MX RRSIG DNSKEY LOC NSEC )
diff --git a/fuzz/dns_rdata_fromtext.in/nsec3 b/fuzz/dns_rdata_fromtext.in/nsec3
new file mode 100644 (file)
index 0000000..bc615a1
--- /dev/null
@@ -0,0 +1 @@
+IN NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU  A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
diff --git a/fuzz/dns_rdata_fromtext.in/nsec3param b/fuzz/dns_rdata_fromtext.in/nsec3param
new file mode 100644 (file)
index 0000000..414f44d
--- /dev/null
@@ -0,0 +1 @@
+IN NSEC3PARAM 1 0 1 868BCF7ED4108929
diff --git a/fuzz/dns_rdata_fromtext.in/null b/fuzz/dns_rdata_fromtext.in/null
new file mode 100644 (file)
index 0000000..bebe069
--- /dev/null
@@ -0,0 +1 @@
+IN NULL
diff --git a/fuzz/dns_rdata_fromtext.in/nxt b/fuzz/dns_rdata_fromtext.in/nxt
new file mode 100644 (file)
index 0000000..9f4d243
--- /dev/null
@@ -0,0 +1 @@
+IN NXT a.secure.nil. ( NS SOA MX RRSIG KEY LOC NXT )
diff --git a/fuzz/dns_rdata_fromtext.in/openpgpkey b/fuzz/dns_rdata_fromtext.in/openpgpkey
new file mode 100644 (file)
index 0000000..4c99b65
--- /dev/null
@@ -0,0 +1 @@
+IN OPENPGPKEY  ( AQMFD5raczCJHViKtLYhWGz8hMY   9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV        sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg       a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= )
diff --git a/fuzz/dns_rdata_fromtext.in/opt b/fuzz/dns_rdata_fromtext.in/opt
new file mode 100644 (file)
index 0000000..b391304
--- /dev/null
@@ -0,0 +1 @@
+ANY OPT unsupported
diff --git a/fuzz/dns_rdata_fromtext.in/ptr b/fuzz/dns_rdata_fromtext.in/ptr
new file mode 100644 (file)
index 0000000..040dc3b
--- /dev/null
@@ -0,0 +1 @@
+IN PTR @
diff --git a/fuzz/dns_rdata_fromtext.in/rkey b/fuzz/dns_rdata_fromtext.in/rkey
new file mode 100644 (file)
index 0000000..fc59f3a
--- /dev/null
@@ -0,0 +1 @@
+IN RKEY        0 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY   9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV        sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg       a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= )
diff --git a/fuzz/dns_rdata_fromtext.in/rp b/fuzz/dns_rdata_fromtext.in/rp
new file mode 100644 (file)
index 0000000..04e65c2
--- /dev/null
@@ -0,0 +1 @@
+IN RP  mbox-dname txt-dname
diff --git a/fuzz/dns_rdata_fromtext.in/rrsig b/fuzz/dns_rdata_fromtext.in/rrsig
new file mode 100644 (file)
index 0000000..53819d0
--- /dev/null
@@ -0,0 +1 @@
+IN RRSIG       NSEC 1 3 ( 3600 20000102030405  19961211100908 2143 foo.nil.    MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45I     kskceFGgiWCn/GxHhai6VAuHAoNUz4YoU1t     VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
diff --git a/fuzz/dns_rdata_fromtext.in/rt b/fuzz/dns_rdata_fromtext.in/rt
new file mode 100644 (file)
index 0000000..3268638
--- /dev/null
@@ -0,0 +1 @@
+IN RT  0 intermediate-host
diff --git a/fuzz/dns_rdata_fromtext.in/sig b/fuzz/dns_rdata_fromtext.in/sig
new file mode 100644 (file)
index 0000000..f92bd70
--- /dev/null
@@ -0,0 +1 @@
+IN SIG NXT 1 3 ( 3600 20000102030405   19961211100908 2143 foo.nil.    MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45I     kskceFGgiWCn/GxHhai6VAuHAoNUz4YoU1t     VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
diff --git a/fuzz/dns_rdata_fromtext.in/sink b/fuzz/dns_rdata_fromtext.in/sink
new file mode 100644 (file)
index 0000000..a85cc45
--- /dev/null
@@ -0,0 +1 @@
+IN SINK        8 0 2 l4ik
diff --git a/fuzz/dns_rdata_fromtext.in/smimea b/fuzz/dns_rdata_fromtext.in/smimea
new file mode 100644 (file)
index 0000000..95107a1
--- /dev/null
@@ -0,0 +1 @@
+IN SMIMEA      ( 1 1 2 92003ba34942dc74152e2f2c408d29ec        a5a520e7f2e06bb944f4dca346baf63c        1b177615d466f6c4b71c216a50292bd5        8c9ebdd2f74e38fe51ffd48c43326cbc )
diff --git a/fuzz/dns_rdata_fromtext.in/soa b/fuzz/dns_rdata_fromtext.in/soa
new file mode 100644 (file)
index 0000000..d3a677c
--- /dev/null
@@ -0,0 +1 @@
+IN SOA a.test. hostmaster.null. 1613723740 900 300 604800 900
diff --git a/fuzz/dns_rdata_fromtext.in/spf b/fuzz/dns_rdata_fromtext.in/spf
new file mode 100644 (file)
index 0000000..a15ca16
--- /dev/null
@@ -0,0 +1 @@
+IN SPF "v=spf1" " -all"
diff --git a/fuzz/dns_rdata_fromtext.in/sshfp b/fuzz/dns_rdata_fromtext.in/sshfp
new file mode 100644 (file)
index 0000000..bc15aa4
--- /dev/null
@@ -0,0 +1 @@
+IN SSHFP       4 2 C76D8329954DA2835751E371544E963EFDA099080D6C58DD2BFD9A31 6E162C83
diff --git a/fuzz/dns_rdata_fromtext.in/ta b/fuzz/dns_rdata_fromtext.in/ta
new file mode 100644 (file)
index 0000000..429d426
--- /dev/null
@@ -0,0 +1 @@
+IN TA  30795 1 1 (             310D27F4D82C1FC2400704EA9939FE6E1CEA            A3B9 )
diff --git a/fuzz/dns_rdata_fromtext.in/talink b/fuzz/dns_rdata_fromtext.in/talink
new file mode 100644 (file)
index 0000000..1788a62
--- /dev/null
@@ -0,0 +1 @@
+IN TALINK      . talink1
diff --git a/fuzz/dns_rdata_fromtext.in/tkey b/fuzz/dns_rdata_fromtext.in/tkey
new file mode 100644 (file)
index 0000000..eb38e20
--- /dev/null
@@ -0,0 +1 @@
+IN TKEY algo.test. 0 0 0 0 2 MjI= 1 MQ==
diff --git a/fuzz/dns_rdata_fromtext.in/tlsa b/fuzz/dns_rdata_fromtext.in/tlsa
new file mode 100644 (file)
index 0000000..0b65f21
--- /dev/null
@@ -0,0 +1 @@
+IN TLSA ( 0 0 1 d2abde240d7cd3ee6b4b28c54df034b9  7983a1d16e8a410e4561cb106618e971 )
diff --git a/fuzz/dns_rdata_fromtext.in/txt b/fuzz/dns_rdata_fromtext.in/txt
new file mode 100644 (file)
index 0000000..a20b128
--- /dev/null
@@ -0,0 +1 @@
+IN TXT "\"foo\010bar\""
diff --git a/fuzz/dns_rdata_fromtext.in/uid b/fuzz/dns_rdata_fromtext.in/uid
new file mode 100644 (file)
index 0000000..7f662f1
--- /dev/null
@@ -0,0 +1 @@
+IN UID \# 1 02
diff --git a/fuzz/dns_rdata_fromtext.in/uinfo b/fuzz/dns_rdata_fromtext.in/uinfo
new file mode 100644 (file)
index 0000000..ec979be
--- /dev/null
@@ -0,0 +1 @@
+IN UINFO       \# 1 01
diff --git a/fuzz/dns_rdata_fromtext.in/unspec b/fuzz/dns_rdata_fromtext.in/unspec
new file mode 100644 (file)
index 0000000..579eea6
--- /dev/null
@@ -0,0 +1 @@
+IN UNSPEC      \# 1 04
diff --git a/fuzz/dns_rdata_fromtext.in/uri b/fuzz/dns_rdata_fromtext.in/uri
new file mode 100644 (file)
index 0000000..9497109
--- /dev/null
@@ -0,0 +1 @@
+IN URI 10 20 "https://www.isc.org/"
diff --git a/fuzz/dns_rdata_fromtext.in/x25 b/fuzz/dns_rdata_fromtext.in/x25
new file mode 100644 (file)
index 0000000..1a60ed7
--- /dev/null
@@ -0,0 +1 @@
+IN X25 "123456789"
diff --git a/fuzz/dns_rdata_fromtext.in/zonemd b/fuzz/dns_rdata_fromtext.in/zonemd
new file mode 100644 (file)
index 0000000..539bb5e
--- /dev/null
@@ -0,0 +1 @@
+IN ZONEMD      2019020700 1 0 (        C220B8A6ED5728A971902F7E3D4FD93A        DEEA88B0453C2E8E8C863D465AB06CF3        4EB95B266398C98B59124FA239CB7EEB        )
index d60d3700b334b49458630a058207bdb3e0c0e0cd..f05ddd4be5ff4e5af9168ddfe96d7c4345d93766 100644 (file)
 #include <dns/rdata.h>
 #include <dns/rdatatype.h>
 
-#define CHECK(x)                                     \
-       ({                                           \
-               if ((result = (x)) != ISC_R_SUCCESS) \
-                       goto done;                   \
-       })
+#include "fuzz.h"
 
-extern bool debug;
+bool debug = false;
 
 /*
  * Fuzz input to dns_rdata_fromwire(). Then convert the result
@@ -42,8 +38,27 @@ extern bool debug;
  * format again, checking for consistency throughout the sequence.
  */
 
+static isc_mem_t *mctx = NULL;
+static isc_lex_t *lex = NULL;
+
 int
-LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       isc_lexspecials_t specials;
+
+       isc_mem_create(&mctx);
+       CHECK(isc_lex_create(mctx, 64, &lex));
+
+       memset(specials, 0, sizeof(specials));
+       specials[0] = 1;
+       specials['('] = 1;
+       specials[')'] = 1;
+       specials['"'] = 1;
+       isc_lex_setspecials(lex, specials);
+       isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
+
+       return (0);
+}
 
 static void
 nullmsg(dns_rdatacallbacks_t *cb, const char *fmt, ...) {
@@ -74,9 +89,6 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
                    rdata3 = DNS_RDATA_INIT;
        dns_rdatacallbacks_t callbacks;
        isc_buffer_t source, target;
-       isc_lex_t *lex = NULL;
-       isc_lexspecials_t specials;
-       isc_mem_t *mctx = NULL;
        isc_result_t result;
        unsigned char fromtext[1024];
        unsigned char fromwire[1024];
@@ -116,17 +128,6 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
        rdclass = classlist[(*data++) % classes];
        size--;
 
-       isc_mem_create(&mctx);
-
-       CHECK(isc_lex_create(mctx, 64, &lex));
-       memset(specials, 0, sizeof(specials));
-       specials[0] = 1;
-       specials['('] = 1;
-       specials[')'] = 1;
-       specials['"'] = 1;
-       isc_lex_setspecials(lex, specials);
-       isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
-
        if (debug) {
                fprintf(stderr, "type=%u, class=%u\n", rdtype, rdclass);
        }
@@ -214,12 +215,5 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
        assert(target.used == size);
        assert(!memcmp(target.base, data, size));
 
-done:
-       if (lex != NULL) {
-               isc_lex_destroy(&lex);
-       }
-       if (lex != NULL) {
-               isc_mem_detach(&mctx);
-       }
        return (0);
 }
index 9eb47d5691ec13700de3a00e03946d0019bd048b..deed8429ac6cb48e40c0601464e4f0c09da24f03 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/cdnskey and b/fuzz/dns_rdata_fromwire_text.in/cdnskey differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-0 b/fuzz/dns_rdata_fromwire_text.in/input-0
deleted file mode 100644 (file)
index 67264cf..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-0 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-1 b/fuzz/dns_rdata_fromwire_text.in/input-1
deleted file mode 100644 (file)
index ae8e0b9..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-1 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-10 b/fuzz/dns_rdata_fromwire_text.in/input-10
deleted file mode 100644 (file)
index 2a39348..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-10 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-100 b/fuzz/dns_rdata_fromwire_text.in/input-100
deleted file mode 100644 (file)
index 5a527cd..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-100 and /dev/null differ
index 1d3d6a2ced495c93ebfc0e543c23df0b61ce36c7..a4f256bcb18e6e154ff7236560aaaa015b846131 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-101 and b/fuzz/dns_rdata_fromwire_text.in/input-101 differ
index b800c4c6298dbb0f1ef1fa2bff7882ab117f1ebc..a8c81c0cbc13470dad2c162ce9a6a7764a2b58df 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-102 and b/fuzz/dns_rdata_fromwire_text.in/input-102 differ
index c0ca9c0485d447c91ffa01843329c62ad3e51a35..37ca50eeead3b0fb8b33b612a3b61045921081b5 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-103 and b/fuzz/dns_rdata_fromwire_text.in/input-103 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-104 b/fuzz/dns_rdata_fromwire_text.in/input-104
deleted file mode 100644 (file)
index 5c39be4..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-104 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-105 b/fuzz/dns_rdata_fromwire_text.in/input-105
deleted file mode 100644 (file)
index 754d0f2..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-105 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-106 b/fuzz/dns_rdata_fromwire_text.in/input-106
deleted file mode 100644 (file)
index af4bdc5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-106 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-107 b/fuzz/dns_rdata_fromwire_text.in/input-107
deleted file mode 100644 (file)
index 8ddc502..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-107 and /dev/null differ
index a328093ddf85e63491484bcb19afebc8c172ab55..935b3a7fb15e12321f73e73c22384891ccc52dd9 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-108 and b/fuzz/dns_rdata_fromwire_text.in/input-108 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-109 b/fuzz/dns_rdata_fromwire_text.in/input-109
deleted file mode 100644 (file)
index b566c0b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-109 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-11 b/fuzz/dns_rdata_fromwire_text.in/input-11
deleted file mode 100644 (file)
index 21ca619..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-11 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-110 b/fuzz/dns_rdata_fromwire_text.in/input-110
deleted file mode 100644 (file)
index b55551a..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-110 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-111 b/fuzz/dns_rdata_fromwire_text.in/input-111
deleted file mode 100644 (file)
index 7e4fcd1..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-111 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-112 b/fuzz/dns_rdata_fromwire_text.in/input-112
deleted file mode 100644 (file)
index c351052..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-112 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-113 b/fuzz/dns_rdata_fromwire_text.in/input-113
deleted file mode 100644 (file)
index 6159786..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-113 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-114 b/fuzz/dns_rdata_fromwire_text.in/input-114
deleted file mode 100644 (file)
index a709d51..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-114 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-115 b/fuzz/dns_rdata_fromwire_text.in/input-115
deleted file mode 100644 (file)
index a6a21c1..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-115 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-116 b/fuzz/dns_rdata_fromwire_text.in/input-116
deleted file mode 100644 (file)
index 248105b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-116 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-117 b/fuzz/dns_rdata_fromwire_text.in/input-117
deleted file mode 100644 (file)
index 82fe403..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-117 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-118 b/fuzz/dns_rdata_fromwire_text.in/input-118
deleted file mode 100644 (file)
index 0b6136e..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-118 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-119 b/fuzz/dns_rdata_fromwire_text.in/input-119
deleted file mode 100644 (file)
index bb8cd98..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-119 and /dev/null differ
index e51156bdae4b9ea79c40c4f9298f195ca9234fdd..ed6219671af20fe8548da9dd70b879bb75dc38fc 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-12 and b/fuzz/dns_rdata_fromwire_text.in/input-12 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-120 b/fuzz/dns_rdata_fromwire_text.in/input-120
deleted file mode 100644 (file)
index 0e0b607..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-120 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-121 b/fuzz/dns_rdata_fromwire_text.in/input-121
deleted file mode 100644 (file)
index 8671167..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-121 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-122 b/fuzz/dns_rdata_fromwire_text.in/input-122
deleted file mode 100644 (file)
index 90d058c..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-122 and /dev/null differ
index 9728ae93f2926475a6c35c0088e99ede02e14492..bd71cfa4bad769db4c50ee05a6b5b12d475f6a4a 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-123 and b/fuzz/dns_rdata_fromwire_text.in/input-123 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-124 b/fuzz/dns_rdata_fromwire_text.in/input-124
deleted file mode 100644 (file)
index 7a54801..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-124 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-125 b/fuzz/dns_rdata_fromwire_text.in/input-125
deleted file mode 100644 (file)
index 90e2175..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-125 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-126 b/fuzz/dns_rdata_fromwire_text.in/input-126
deleted file mode 100644 (file)
index 04a84f4..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-126 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-127 b/fuzz/dns_rdata_fromwire_text.in/input-127
deleted file mode 100644 (file)
index b7b8446..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-127 and /dev/null differ
index bd581cd68ecb0aed40f2c72b8679e44f40c5e57a..9c80f95128e6dd7dabe18de51d6a2818370d1580 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-128 and b/fuzz/dns_rdata_fromwire_text.in/input-128 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-129 b/fuzz/dns_rdata_fromwire_text.in/input-129
deleted file mode 100644 (file)
index f80c669..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-129 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-13 b/fuzz/dns_rdata_fromwire_text.in/input-13
deleted file mode 100644 (file)
index 0c4f452..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-13 and /dev/null differ
index 00d9438a81fdc258581415dee202aec7be524c36..ae6604ce0948c1ce70c9d0bb03f4585ca2e8691d 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-130 and b/fuzz/dns_rdata_fromwire_text.in/input-130 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-131 b/fuzz/dns_rdata_fromwire_text.in/input-131
deleted file mode 100644 (file)
index b5377d3..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-131 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-132 b/fuzz/dns_rdata_fromwire_text.in/input-132
deleted file mode 100644 (file)
index 2866ed0..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-132 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-133 b/fuzz/dns_rdata_fromwire_text.in/input-133
deleted file mode 100644 (file)
index d6ca8c8..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-133 and /dev/null differ
index bee8307e74afda93d2b71cae77b1f1e565ab98b6..7e9b9a1966d8041620d06ef95cab6b83dba07d6b 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-134 and b/fuzz/dns_rdata_fromwire_text.in/input-134 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-135 b/fuzz/dns_rdata_fromwire_text.in/input-135
deleted file mode 100644 (file)
index 91efead..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-135 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-136 b/fuzz/dns_rdata_fromwire_text.in/input-136
deleted file mode 100644 (file)
index f7b1843..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-136 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-137 b/fuzz/dns_rdata_fromwire_text.in/input-137
deleted file mode 100644 (file)
index 2bd7066..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-137 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-138 b/fuzz/dns_rdata_fromwire_text.in/input-138
deleted file mode 100644 (file)
index ea08340..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-138 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-139 b/fuzz/dns_rdata_fromwire_text.in/input-139
deleted file mode 100644 (file)
index e95cbf5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-139 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-14 b/fuzz/dns_rdata_fromwire_text.in/input-14
deleted file mode 100644 (file)
index bde6b15..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-14 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-140 b/fuzz/dns_rdata_fromwire_text.in/input-140
deleted file mode 100644 (file)
index 25be408..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-140 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-141 b/fuzz/dns_rdata_fromwire_text.in/input-141
deleted file mode 100644 (file)
index 0b2d0d6..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-141 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-142 b/fuzz/dns_rdata_fromwire_text.in/input-142
deleted file mode 100644 (file)
index ca87de0..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-142 and /dev/null differ
index 1a3e0ac308bd0aabf0ead45a8c2d10ee45538cbd..40d79d04b60fc656c44db0793426388f5c366800 100644 (file)
@@ -1 +1 @@
-d\1e\ 4$3ÿê
\ No newline at end of file
+d0\ 400ÿê
\ No newline at end of file
index 72df49cc28ac18861e7a36b3439a0676af4900b1..b0c21b317eba53a9778abb2f23c2474c351f2522 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-15 and b/fuzz/dns_rdata_fromwire_text.in/input-15 differ
index b80f63ff2533645ad35ebef9e8fd3a090c39ccca..18226487d49d9d3cf5fb279e0ef5b092a0b4d1e2 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-16 and b/fuzz/dns_rdata_fromwire_text.in/input-16 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-17 b/fuzz/dns_rdata_fromwire_text.in/input-17
deleted file mode 100644 (file)
index cc63d40..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d®#®®®®®®®®®®®®®®®®®®®®\10®Ä®®®®®d®®®®®d
\ No newline at end of file
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-18 b/fuzz/dns_rdata_fromwire_text.in/input-18
deleted file mode 100644 (file)
index 4a0d214..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-18 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-19 b/fuzz/dns_rdata_fromwire_text.in/input-19
deleted file mode 100644 (file)
index 4ef39ef..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-19 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-2 b/fuzz/dns_rdata_fromwire_text.in/input-2
deleted file mode 100644 (file)
index cecf923..0000000
+++ /dev/null
@@ -1 +0,0 @@
-4A-ò 
\ No newline at end of file
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-20 b/fuzz/dns_rdata_fromwire_text.in/input-20
deleted file mode 100644 (file)
index 52c3851..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-20 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-21 b/fuzz/dns_rdata_fromwire_text.in/input-21
deleted file mode 100644 (file)
index 0cc97d6..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-21 and /dev/null differ
index d993d4821ce8b1f5760e6e4287e932ef74b14cc8..7459c2753e93885b3b4c0243c4bb4ca433105b76 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-22 and b/fuzz/dns_rdata_fromwire_text.in/input-22 differ
index 38cbee653b71775922c80f841990a0d3c91c6321..0a8a5b1133836f9ddc1910c38ec7035976d1950d 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-23 and b/fuzz/dns_rdata_fromwire_text.in/input-23 differ
index a45779ed7cf71b60e7496f463b240d8d5b59ad87..e2352e83f2068dc9025e6be8fb7ec07ab5f94358 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-24 and b/fuzz/dns_rdata_fromwire_text.in/input-24 differ
index 2d9f2cea3dd61ea28b8734505043663f65d27f94..3f9f2697ac8551ee52991227544402e6c52ebb4a 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-25 and b/fuzz/dns_rdata_fromwire_text.in/input-25 differ
index a392076a7ddbe52d4e183bedcf97ec9cf5297615..01f9b44ee7658523045d91dcba1ac88cff600672 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-26 and b/fuzz/dns_rdata_fromwire_text.in/input-26 differ
index f75f8d9da51e18ad503b8c55c28560cd18d93296..a0e69dcae0bc595b1497caadac9c011db0a35294 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-27 and b/fuzz/dns_rdata_fromwire_text.in/input-27 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-28 b/fuzz/dns_rdata_fromwire_text.in/input-28
deleted file mode 100644 (file)
index 005ae77..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-28 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-29 b/fuzz/dns_rdata_fromwire_text.in/input-29
deleted file mode 100644 (file)
index b9c69e1..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-29 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-3 b/fuzz/dns_rdata_fromwire_text.in/input-3
deleted file mode 100644 (file)
index 606dc1b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-3 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-30 b/fuzz/dns_rdata_fromwire_text.in/input-30
deleted file mode 100644 (file)
index e106d54..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-30 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-31 b/fuzz/dns_rdata_fromwire_text.in/input-31
deleted file mode 100644 (file)
index dc5bf2b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-31 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-32 b/fuzz/dns_rdata_fromwire_text.in/input-32
deleted file mode 100644 (file)
index 1297a7e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d\10\ 6\ 6éé\ 6\ 6\ 6
\ No newline at end of file
index b6d57bb935f9c42fc4fd4a9a9f0174e3103fbe2d..958f3f6b258ad73e5b9feababd62cff5783e133e 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-33 and b/fuzz/dns_rdata_fromwire_text.in/input-33 differ
index fef669d311b4fd5876edd2d37c1259cced35d075..f00f99ebc9828229a080788e3eba052553c16abf 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-34 and b/fuzz/dns_rdata_fromwire_text.in/input-34 differ
index 94a4a376ebe02dc0b39bb32240f52523907dc790..871ac3b37fa1ce8588aa837de6d328f5468d7175 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-35 and b/fuzz/dns_rdata_fromwire_text.in/input-35 differ
index dab603cc986d624a7483dad3ff9db251c1036fa7..a69afb75c8c7daab4f8a86c1cc99fccd7a884d1d 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-36 and b/fuzz/dns_rdata_fromwire_text.in/input-36 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-37 b/fuzz/dns_rdata_fromwire_text.in/input-37
deleted file mode 100644 (file)
index 51f4124..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-37 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-38 b/fuzz/dns_rdata_fromwire_text.in/input-38
deleted file mode 100644 (file)
index 1ad3023..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-38 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-39 b/fuzz/dns_rdata_fromwire_text.in/input-39
deleted file mode 100644 (file)
index b8dfecd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13\13
\ No newline at end of file
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-4 b/fuzz/dns_rdata_fromwire_text.in/input-4
deleted file mode 100644 (file)
index ae6730e..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-4 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-40 b/fuzz/dns_rdata_fromwire_text.in/input-40
deleted file mode 100644 (file)
index 5ab3557..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-40 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-41 b/fuzz/dns_rdata_fromwire_text.in/input-41
deleted file mode 100644 (file)
index ea33ca7..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-41 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-42 b/fuzz/dns_rdata_fromwire_text.in/input-42
deleted file mode 100644 (file)
index eb63067..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-42 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-43 b/fuzz/dns_rdata_fromwire_text.in/input-43
deleted file mode 100644 (file)
index 9aa3747..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-43 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-44 b/fuzz/dns_rdata_fromwire_text.in/input-44
deleted file mode 100644 (file)
index bdc8b9d..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-44 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-45 b/fuzz/dns_rdata_fromwire_text.in/input-45
deleted file mode 100644 (file)
index e6966b5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-45 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-46 b/fuzz/dns_rdata_fromwire_text.in/input-46
deleted file mode 100644 (file)
index 1156424..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-46 and /dev/null differ
index b499172b0c947d0e96d2c35fdd5e3bac320b350c..876dcc826fd48768f6162280034da80bc416cf93 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-47 and b/fuzz/dns_rdata_fromwire_text.in/input-47 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-48 b/fuzz/dns_rdata_fromwire_text.in/input-48
deleted file mode 100644 (file)
index 7ab447b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-48 and /dev/null differ
index ab5e3b0873f5b823e3c8272bc6122517b51718d5..a970d77d2e8e7f00f59a9bb6ad1231339807ab5d 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-49 and b/fuzz/dns_rdata_fromwire_text.in/input-49 differ
index 4f0acdc444a261e93ab9fbadd145aa1747ab4722..0dfa9ed36aa2d1fef923f24a2892ca93757c1e59 100644 (file)
@@ -1 +1 @@
-\84Ë\9b\9b\ 4
\ No newline at end of file
+\8400
\ No newline at end of file
index 5f43a46747d1300ea07e72bebc5c15ac455562f8..c28c3da8717211aeee5f23411a09027c84ff2ee3 100644 (file)
@@ -1 +1 @@
|\ f8\87\87¶|¶|\ f8¶|¶|\ f8
\ No newline at end of file
000|
\ No newline at end of file
index 880c12c49a163d3bf62f2c09935c987157ca7eae..3f62457ae607c29c95ae437703c1cc9c16abb831 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-51 and b/fuzz/dns_rdata_fromwire_text.in/input-51 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-52 b/fuzz/dns_rdata_fromwire_text.in/input-52
deleted file mode 100644 (file)
index 50a22af..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-52 and /dev/null differ
index 95243a67b4593e5704bacd99d788ce218fecc541..36eeb64f52db73a5e6156d8f29086ee67372c28d 100644 (file)
@@ -1 +1 @@
-\13ñ\ 4\ 4\ 4\ 4(
\ No newline at end of file
+\130\ 4\ 4000
\ No newline at end of file
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-54 b/fuzz/dns_rdata_fromwire_text.in/input-54
deleted file mode 100644 (file)
index b501920..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-54 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-55 b/fuzz/dns_rdata_fromwire_text.in/input-55
deleted file mode 100644 (file)
index 59b9f03..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-55 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-56 b/fuzz/dns_rdata_fromwire_text.in/input-56
deleted file mode 100644 (file)
index b0beba0..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-56 and /dev/null differ
index 24f40a53fdfab6ab9811e04b1cb8ccd76fd423a1..0bac8c5445e02cd19b109ceea1fba7a2617cbc57 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-57 and b/fuzz/dns_rdata_fromwire_text.in/input-57 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-58 b/fuzz/dns_rdata_fromwire_text.in/input-58
deleted file mode 100644 (file)
index aca62bb..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-58 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-59 b/fuzz/dns_rdata_fromwire_text.in/input-59
deleted file mode 100644 (file)
index 3388b2d..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-59 and /dev/null differ
index 889a2bd246a0d76bc66d6d9c52c64e67fbe59d5c..868030d2b6da6c217425ad25abd1cfb4f6ed07ea 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-6 and b/fuzz/dns_rdata_fromwire_text.in/input-6 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-60 b/fuzz/dns_rdata_fromwire_text.in/input-60
deleted file mode 100644 (file)
index ac328d9..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-60 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-61 b/fuzz/dns_rdata_fromwire_text.in/input-61
deleted file mode 100644 (file)
index 08ad070..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-61 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-62 b/fuzz/dns_rdata_fromwire_text.in/input-62
deleted file mode 100644 (file)
index 18a05e5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-62 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-63 b/fuzz/dns_rdata_fromwire_text.in/input-63
deleted file mode 100644 (file)
index 959fdaf..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-63 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-64 b/fuzz/dns_rdata_fromwire_text.in/input-64
deleted file mode 100644 (file)
index 5d9c569..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-64 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-65 b/fuzz/dns_rdata_fromwire_text.in/input-65
deleted file mode 100644 (file)
index 2d9c1fc..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-65 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-66 b/fuzz/dns_rdata_fromwire_text.in/input-66
deleted file mode 100644 (file)
index f78d393..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-66 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-67 b/fuzz/dns_rdata_fromwire_text.in/input-67
deleted file mode 100644 (file)
index 95efb96..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-67 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-68 b/fuzz/dns_rdata_fromwire_text.in/input-68
deleted file mode 100644 (file)
index e913515..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-68 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-69 b/fuzz/dns_rdata_fromwire_text.in/input-69
deleted file mode 100644 (file)
index c8046b5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-69 and /dev/null differ
index e52f4605a606a77c485f225709134b5938537adf..f4b83927ce6656f8ea2dd3fa4105f1c3e9f25765 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-7 and b/fuzz/dns_rdata_fromwire_text.in/input-7 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-70 b/fuzz/dns_rdata_fromwire_text.in/input-70
deleted file mode 100644 (file)
index 92a7128..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-70 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-71 b/fuzz/dns_rdata_fromwire_text.in/input-71
deleted file mode 100644 (file)
index 5fc383e..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-71 and /dev/null differ
index 7759c47ab9f52e3a639e1c582f8b4cb19353d0b3..56a21f61abfdc104cbb1f9a689d1b7738b08312c 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-72 and b/fuzz/dns_rdata_fromwire_text.in/input-72 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-73 b/fuzz/dns_rdata_fromwire_text.in/input-73
deleted file mode 100644 (file)
index 872fee9..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-73 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-74 b/fuzz/dns_rdata_fromwire_text.in/input-74
deleted file mode 100644 (file)
index 6d6ec93..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-74 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-75 b/fuzz/dns_rdata_fromwire_text.in/input-75
deleted file mode 100644 (file)
index 47a9f2b..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-75 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-76 b/fuzz/dns_rdata_fromwire_text.in/input-76
deleted file mode 100644 (file)
index 0a02761..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-76 and /dev/null differ
index 44d445abb5f3669e72e0db293c4a3d7f441f87b5..2755ea38683831138bdb34abe5e2e09051603e32 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-77 and b/fuzz/dns_rdata_fromwire_text.in/input-77 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-78 b/fuzz/dns_rdata_fromwire_text.in/input-78
deleted file mode 100644 (file)
index 2893517..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-78 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-79 b/fuzz/dns_rdata_fromwire_text.in/input-79
deleted file mode 100644 (file)
index c83c4bd..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-79 and /dev/null differ
index 4d60fdfc631cc40aa867dd46cc08d4e0e7654b9e..38bff026b125b80fa54484031c676407e5ae5ce7 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-8 and b/fuzz/dns_rdata_fromwire_text.in/input-8 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-80 b/fuzz/dns_rdata_fromwire_text.in/input-80
deleted file mode 100644 (file)
index 5da0971..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-80 and /dev/null differ
index c3b5aff67f89dd89c5bea59f38c18454256fb813..5a7495d8f7c60b2c4775b9f1c97044b70e73f4dc 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-81 and b/fuzz/dns_rdata_fromwire_text.in/input-81 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-82 b/fuzz/dns_rdata_fromwire_text.in/input-82
deleted file mode 100644 (file)
index 0e862c6..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-82 and /dev/null differ
index 7f49b5f25003be9159fe9120de8186cfc2c604bc..c58e2588710f74630f70aebfb734965f7fe092e1 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-83 and b/fuzz/dns_rdata_fromwire_text.in/input-83 differ
index 417471dfe36d769826568b738bb6120d864461bd..ffcd7fbad37849a9e5ba1ead879e88482e65a040 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-84 and b/fuzz/dns_rdata_fromwire_text.in/input-84 differ
index 2e6a9ea1f18984327b17b293e9eaf11001f8fbb7..45c746545383535a04d51833e9c70dc5a68b97d8 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-85 and b/fuzz/dns_rdata_fromwire_text.in/input-85 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-86 b/fuzz/dns_rdata_fromwire_text.in/input-86
deleted file mode 100644 (file)
index 1eb09cc..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-86 and /dev/null differ
index 4c29c23db7ee2b8bf16ddad1495eb42ef55b803a..24df2ea9c0aebf2d05440ec5320e12bccf54a2ef 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-87 and b/fuzz/dns_rdata_fromwire_text.in/input-87 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-88 b/fuzz/dns_rdata_fromwire_text.in/input-88
deleted file mode 100644 (file)
index 28ac529..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-88 and /dev/null differ
index 8119bf0a46bad8e6e0e45289e959b59b984fe3d8..4498467d886f4400de4ce337beca1492561c746b 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-89 and b/fuzz/dns_rdata_fromwire_text.in/input-89 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-9 b/fuzz/dns_rdata_fromwire_text.in/input-9
deleted file mode 100644 (file)
index 72a140c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-222222'\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c2222\1322222'\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\9c\13
\ No newline at end of file
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-90 b/fuzz/dns_rdata_fromwire_text.in/input-90
deleted file mode 100644 (file)
index 6ae07bd..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-90 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-91 b/fuzz/dns_rdata_fromwire_text.in/input-91
deleted file mode 100644 (file)
index 28a0c7f..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-91 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-92 b/fuzz/dns_rdata_fromwire_text.in/input-92
deleted file mode 100644 (file)
index 6b7efe5..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-92 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-93 b/fuzz/dns_rdata_fromwire_text.in/input-93
deleted file mode 100644 (file)
index a5395e1..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-93 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-94 b/fuzz/dns_rdata_fromwire_text.in/input-94
deleted file mode 100644 (file)
index 43fbdae..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-94 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-95 b/fuzz/dns_rdata_fromwire_text.in/input-95
deleted file mode 100644 (file)
index 742afd7..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-95 and /dev/null differ
index bb8bb8a803c4ddb521a47fb04b6e9a8e911e125e..7e3d057233ba5fda11e6250ec0f32fe1564c193d 100644 (file)
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-96 and b/fuzz/dns_rdata_fromwire_text.in/input-96 differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-97 b/fuzz/dns_rdata_fromwire_text.in/input-97
deleted file mode 100644 (file)
index 03d79ae..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-97 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-98 b/fuzz/dns_rdata_fromwire_text.in/input-98
deleted file mode 100644 (file)
index 0cc1f01..0000000
Binary files a/fuzz/dns_rdata_fromwire_text.in/input-98 and /dev/null differ
diff --git a/fuzz/dns_rdata_fromwire_text.in/input-99 b/fuzz/dns_rdata_fromwire_text.in/input-99
deleted file mode 100644 (file)
index 1490fa0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d\10\ 6"éé\ 6\ 6\ 6
\ No newline at end of file
index 528472da19cd42e944f59f058cadf1e3b13a07e0..40c7514632b66e62dd3073b010ce3c69720f14af 100644 (file)
@@ -1 +1 @@
-\85-Òe\9c<
\ No newline at end of file
+\8500000
\ No newline at end of file
index b3007cdb0f1d534b80d1ddb0ecb867ea8d36a6f2..55db5f38f4d1e6f8a487960b644c6cf4dbd924d7 100644 (file)
@@ -1 +1 @@
-|\87°|\ f8
\ No newline at end of file
+|0000
\ No newline at end of file
index b5645a99c30eeb0d485ad0721f7cb27d6f8813cb..769f8468154e23836b90427a183e19be1ca0b98f 100644 (file)
  * information regarding copyright ownership.
  */
 
+#pragma once
+
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
 
+#include <isc/dir.h>
 #include <isc/lang.h>
 #include <isc/mem.h>
 #include <isc/once.h>
@@ -27,7 +30,16 @@ ISC_LANG_BEGINDECLS
 
 extern bool debug;
 
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused)));
+
 int
 LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
 
+#define CHECK(x)                    \
+       if ((x) != ISC_R_SUCCESS) { \
+               return 0;           \
+       }
+
 ISC_LANG_ENDDECLS
diff --git a/fuzz/isc_lex_getmastertoken.c b/fuzz/isc_lex_getmastertoken.c
new file mode 100644 (file)
index 0000000..5931e18
--- /dev/null
@@ -0,0 +1,81 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <isc/buffer.h>
+#include <isc/lex.h>
+#include <isc/mem.h>
+#include <isc/string.h>
+#include <isc/util.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused)));
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
+
+static isc_mem_t *mctx = NULL;
+static isc_lex_t *lex = NULL;
+
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       isc_result_t result;
+
+       isc_mem_create(&mctx);
+
+       result = isc_lex_create(mctx, 1024, &lex);
+       REQUIRE(result == ISC_R_SUCCESS);
+
+       return (0);
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_buffer_t buf;
+       isc_result_t result;
+       isc_token_t token;
+       isc_tokentype_t expect;
+       bool eol;
+
+       if (size < sizeof(expect) + sizeof(eol)) {
+               return (0);
+       }
+
+       (void)memmove(&expect, data, sizeof(expect));
+       data += sizeof(expect);
+       size -= sizeof(expect);
+
+       eol = *data != 0;
+       data += 1;
+       size -= 1;
+
+       isc_buffer_constinit(&buf, data, size);
+       isc_buffer_add(&buf, size);
+       isc_buffer_setactive(&buf, size);
+
+       CHECK(isc_lex_openbuffer(lex, &buf));
+
+       do {
+               result = isc_lex_getmastertoken(lex, &token, expect, eol);
+       } while (result == ISC_R_SUCCESS && token.type != isc_tokentype_eof);
+
+       return (0);
+}
diff --git a/fuzz/isc_lex_getmastertoken.in/named.conf b/fuzz/isc_lex_getmastertoken.in/named.conf
new file mode 100644 (file)
index 0000000..9cbde35
Binary files /dev/null and b/fuzz/isc_lex_getmastertoken.in/named.conf differ
diff --git a/fuzz/isc_lex_getmastertoken.in/simple b/fuzz/isc_lex_getmastertoken.in/simple
new file mode 100644 (file)
index 0000000..a5eb98c
Binary files /dev/null and b/fuzz/isc_lex_getmastertoken.in/simple differ
diff --git a/fuzz/isc_lex_gettoken.c b/fuzz/isc_lex_gettoken.c
new file mode 100644 (file)
index 0000000..c295145
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <isc/buffer.h>
+#include <isc/lex.h>
+#include <isc/mem.h>
+#include <isc/util.h>
+
+#include "fuzz.h"
+
+bool debug = false;
+
+static isc_mem_t *mctx = NULL;
+static isc_lex_t *lex = NULL;
+
+int
+LLVMFuzzerInitialize(int *argc __attribute__((unused)),
+                    char ***argv __attribute__((unused))) {
+       isc_result_t result;
+
+       isc_mem_create(&mctx);
+
+       result = isc_lex_create(mctx, 1024, &lex);
+       REQUIRE(result == ISC_R_SUCCESS);
+
+       return (0);
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+       isc_buffer_t buf;
+       isc_result_t result;
+
+       isc_buffer_constinit(&buf, data, size);
+       isc_buffer_add(&buf, size);
+       isc_buffer_setactive(&buf, size);
+
+       CHECK(isc_lex_openbuffer(lex, &buf));
+
+       do {
+               isc_token_t token;
+               result = isc_lex_gettoken(lex, 0, &token);
+       } while (result == ISC_R_SUCCESS);
+
+       return (0);
+}
diff --git a/fuzz/isc_lex_gettoken.in/named.conf b/fuzz/isc_lex_gettoken.in/named.conf
new file mode 100644 (file)
index 0000000..dd46100
--- /dev/null
@@ -0,0 +1,644 @@
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+/*
+ * This is a worthless, nonrunnable example of a named.conf file that has
+ * every conceivable syntax element in use.  We use it to test the parser.
+ * It could also be used as a conceptual template for users of new features.
+ */
+
+/*
+ * C-style comments are OK
+ */
+
+// So are C++-style comments
+
+#So are shell - style comments
+
+// watch out for ";" -- it's important!
+
+options {
+       additional - from - auth true;
+       additional - from - cache false;
+
+       version "my version string";
+       random - device "/dev/random";
+       directory "/tmp";
+
+       port 666;
+
+       sig - validity - interval 33;
+
+#Obsolete
+       named - xfer "/usr/libexec/named-xfer"; // _PATH_XFER
+
+       dump - file "named_dump.db";           // _PATH_DUMPFILE
+       pid - file "/var/run/named.pid";       // _PATH_PIDFILE
+       statistics - file "named.stats";       // _PATH_STATS
+       memstatistics - file "named.memstats"; // _PATH_MEMSTATS
+
+       max - cache - ttl 999;
+       min - cache - ttl 66;
+       auth - nxdomain yes; // always set AA on NXDOMAIN.
+                            // don't set this to 'no' unless
+                            // you know what you're doing -- older
+                            // servers won't like it.
+
+#Obsolete
+       deallocate - on - exit no;
+
+       dialup yes;
+
+#Obsolete
+       fake - iquery no;
+
+       fetch - glue yes;
+       has - old - clients yes;
+       host - statistics no;
+
+#Obsolete
+       multiple - cnames no; // if yes, then a name my have more
+                             // than one CNAME RR.  This use
+                             // is non-standard and is not
+                             // recommended, but it is available
+                             // because previous releases supported
+                             // it and it was used by large sites
+                             // for load balancing.
+
+       notify yes; // send NOTIFY messages.  You can set
+                   // notify on a zone-by-zone
+                   // basis in the "zone" statement
+                   // see (below)
+       recursion yes;
+       rfc2308 - type1 no;
+
+#Obsolete
+       use - id - pool yes;
+
+#Obsolete
+       treat - cr - as - space yes;
+
+       also - notify { 10.0.2.3; };
+
+       // The "forward" option is only meaningful if you've defined
+       // forwarders.  "first" gives the normal BIND
+       // forwarding behavior, i.e. ask the forwarders first, and if that
+       // doesn't work then do the full lookup.  You can also say
+       // "forward only;" which is what used to be specified with
+       // "secondary" or "options forward-only".  "only" will never attempt
+       // a full lookup; only the forwarders will be used.
+       forward first;
+       forwarders {
+               1.2.3.4;
+               5.6.7.8;
+       };
+
+       check - names primary fail;
+       check - names secondary warn;
+       check - names response ignore;
+
+       allow - query { any; };
+       allow - transfer { any; };
+       allow - recursion { !any; };
+       blackhole { 45 / 24; };
+       keep - response - order { 46 / 24; };
+
+       listen - on {
+               10 / 24;
+               10.0.0.3;
+       };
+
+       listen - on port 53 { any; };
+
+       listen - on { 5.6.7.8; };
+
+       listen - on port 1234 {
+               !1.2.3.4;
+               1.2.3 / 24;
+       };
+
+       listen - on - v6 { 1 : 1 : 1 : 1 : 1 : 1 : 1 : 1; };
+
+       listen - on - v6 port 777 { 2 : 2 : 2 : 2 : 2 : 2 : 2 : 2; };
+
+       query - source - v6 address 8 : 7 : 6 : 5 : 4 : 3 : 2 : 1 port *;
+       query - source port *address 10.0.0.54;
+
+       lame - ttl 444;
+
+       max - transfer - time - in 300;
+       max - transfer - time - out 10;
+       max - transfer - idle - in 100;
+       max - transfer - idle - out 11;
+
+       max - retry - time 1234;
+       min - retry - time 1111;
+       max - refresh - time 888;
+       min - refresh - time 777;
+
+       max - ncache - ttl 333;
+       min - ncache - ttl 22;
+       min - roots 15;
+       serial - queries 34;
+
+       transfer - format one - answer;
+
+       transfers - in 10;
+       transfers - per - ns 2;
+       transfers - out 0;
+
+       transfer - source 10.0.0.5;
+       transfer - source - v6 4 : 3 : 2 : 1 : 5 : 6 : 7 : 8;
+
+       request - ixfr yes;
+       provide - ixfr yes;
+
+#Now called 'provide-ixfr'
+#maintain - ixfr - base no; // If yes, keep transaction log file for IXFR
+
+       max - ixfr - log - size 20m;
+       coresize 100;
+       datasize 101;
+       files 230;
+       max - cache - size 1m;
+       stacksize 231;
+       heartbeat - interval 1001;
+       interface - interval 1002;
+       statistics - interval 1003;
+
+       topology {
+               10 / 8;
+
+               !1.2.3 / 24;
+
+               {
+                       1.2 / 16;
+                       3 / 8;
+               };
+       };
+
+       sortlist {
+               10 / 8;
+               11 / 8;
+       };
+
+       tkey - domain "foo.com";
+       tkey - dhkey "xyz" 666;
+
+       rrset - order {
+               class IN type A name "foo" order random;
+               order cyclic;
+       };
+};
+
+/*
+ * Control listeners, for "ndc".  Every nameserver needs at least one.
+ */
+controls {
+       // 'inet' lines without a 'port' defaults to 'port 953'
+       // 'keys' must be used and the list must have at least one entry
+       inet *port 52 allow { any; }
+       keys { "key2"; };
+       unix "/var/run/ndc" perm 0600 owner 0 group 0; // ignored by named.
+       inet 10.0.0.1 allow {
+               any;
+               key foo;
+       }
+       keys { "key4"; };
+       inet 10.0.0.2 allow { none; }
+       keys {
+               "key-1";
+               "key-2";
+       };
+       inet 10.0.0.2 allow { none; };
+};
+
+zone "primary.demo.zone" {
+       type primaryr;
+       database "somedb -option1 -option2 arg1 arg2 arg3";
+       file "primary.demo.zone";
+       check - names fail;
+       allow - update { none; };
+       allow - update - forwarding {
+               10.0.0.5;
+               !any;
+       };
+       allow - transfer { any; };
+       allow - query { any; };
+       sig - validity - interval 990;
+       notify explicit;
+       also - notify {
+               1.0.0.1;
+       }; // don't notify any nameservers other
+          // than those on the NS list for this
+          // zone
+       forward first;
+       forwarders {
+               10.0.0.3;
+               1 : 2 : 3 : 4 : 5 : 6 : 7 : 8;
+       };
+};
+
+zone "secondary.demo.zone" {
+       type secondary;
+       file "secondary.demo.zone";
+       ixfr - base "secondary.demo.zone.ixfr"; // File name for IXFR transaction
+                                           // log file
+       primaries {
+               1.2.3.4 port 10 key "foo"; // where to zone transfer from
+               5.6.7.8;
+               6.7.8.9 key "zippo";
+       };
+       transfer - source 10.0.0.53; // fixes multihoming problems
+       check - names warn;
+       allow - update { none; };
+       allow - transfer { any; };
+       allow - update - forwarding { any; };
+       allow - query { any; };
+       max - transfer - time - in 120; // if not set, global option is used.
+       max - transfer - time - out 1;  // if not set, global option is used.
+       max - transfer - idle - in 2;   // if not set, global option is used.
+       max - transfer - idle - out 3;  // if not set, global option is used.
+       also - notify { 1.0.0.2; };
+       forward only;
+       forwarders {
+               10.45.45.45;
+               10.0.0.3;
+               1 : 2 : 3 : 4 : 5 : 6 : 7 : 8;
+       };
+};
+
+key "non-viewkey" {
+       secret "YWFh";
+       algorithm "zzz";
+};
+
+view "test-view" in {
+       key "viewkey" {
+               algorithm "xxx";
+               secret "eXl5";
+       };
+       also - notify { 10.2.2.3; };
+       managed - keys { foo.com.static 4 3 2 "abdefghijklmnopqrstuvwxyz"; };
+       sig - validity - interval 45;
+       max - cache - size 100000;
+       allow - query { 10.0.0.30; };
+       additional - from - cache false;
+       additional - from - auth no;
+       match - clients { 10.0.0.1; };
+       check - names primary warn;
+       check - names secondary ignore;
+       check - names response fail;
+       auth - nxdomain false;
+       recursion true;
+       provide - ixfr false;
+       request - ixfr true;
+       fetch - glue true;
+       notify false;
+       rfc2308 - type1 false;
+       transfer - source 10.0.0.55;
+       transfer - source - v6 4 : 3 : 8 : 1 : 5 : 6 : 7 : 8;
+       query - source port *address 10.0.0.54;
+       query - source - v6 address 6 : 6 : 6 : 6 : 6 : 6 : 6 : 6 port *;
+       max - transfer - time - out 45;
+       max - transfer - idle - out 55;
+       min - roots 3;
+       lame - ttl 477;
+       max - ncache - ttl 333;
+       max - cache - ttl 777;
+       transfer - format many - answers;
+       max - retry - time 7;
+       min - retry - time 4;
+       max - refresh - time 999;
+       min - refresh - time 111;
+
+       zone "view-zone.com" {
+               type primary;
+               allow - update - forwarding { 10.0.0.34; };
+               file "view-zone-primary";
+       };
+
+       server 5.6.7.8 { keys "viewkey"; };
+
+       server 10.9.8.7 { keys "non-viewkey"; };
+       dialup yes;
+};
+
+zone "stub.demo.zone" {
+       type stub; // stub zones are like secondary zones,
+                  // except that only the NS records
+                  // are transferred.
+       dialup yes;
+       file "stub.demo.zone";
+       primaries {
+               1.2.3.4; // where to zone transfer from
+               5.6.7.8 port 999;
+       };
+       check - names warn;
+       allow - update { none; };
+       allow - transfer { any; };
+       allow - query { any; };
+
+       max - retry - time 10;
+       min - retry - time 11;
+       max - refresh - time 12;
+       min - refresh - time 13;
+
+       max - transfer - time - in 120; // if not set, global option is used.
+       pubkey 257 255 1 "a useless key";
+       pubkey 257 255 1 "another useless key";
+};
+
+zone "." {
+       type hint; // used to be specified w/ "cache"
+       file "cache.db";
+       //      pubkey 257 255 1
+       //"AQP2fHpZ4VMpKo/jc9Fod821uyfY5p8j5h/Am0V/KpBTMZjdXmp9QJe6yFRoIIzkaNCgTIftASdpXGgCwFB2j2KXP/rick6gvEer5VcDEkLR5Q==";
+};
+
+managed - keys {
+       "." static 257 255 1 "AQP2fHpZ4VMpKo/jc9Fod821uyfY5p8j5h/Am0V/"
+                            "KpBTMZjdXmp9QJe6yFRoIIzkaNCgTIftASdpXGgCwFB2j2KXP"
+                            "/rick6gvEer5VcDEkLR5Q==";
+};
+
+acl can_query {
+       !1.2.3 / 24;
+       any;
+}; // network 1.2.3.0 mask 255.255.255.0
+   // is disallowed; rest are OK
+acl can_axfr {
+       1.2.3.4;
+       can_query;
+}; // host 1.2.3.4 and any host allowed
+   // by can_query are OK
+
+zone "disabled-zone.com" {
+       type primary;
+       file "bar";
+
+       max - retry - time 100;
+       min - retry - time 110;
+       max - refresh - time 120;
+       min - refresh - time 130;
+};
+
+zone "non-default-acl.demo.zone" {
+       type primary;
+       file "foo";
+       allow - query { can_query; };
+       allow - transfer { can_axfr; };
+       allow - update {
+               1.2.3.4;
+               5.6.7.8;
+       };
+       pubkey 666 665 664 "key of the beast";
+       // Errors trapped by parser:
+       //      identity or name not absolute
+       //      'wildcard' match type and no wildcard character in name
+       //
+       // issues:
+       //      - certain rdatatype values (such as "key") are config file
+       // keywords and
+       //        must be quoted or a syntax error will occur.
+       //
+
+       update - policy {
+               grant root.domain.subdomain host.domain.A MX CNAME;
+               grant sub.root.domain.wildcard *.host.domain.A;
+               grant root.domain.name host.domain.a ns md mf cname soa mb mg mr
+                       "null" wks ptr hinfo minfo mx txt rp afsdb x25 isdn rt
+                               nsap sig "key" px gpos aaaa loc nxt srv naptr kx
+                                       cert a6 dname opt unspec uri tkey tsig;
+               grant foo.bar.com.self foo.bar.com.a;
+       };
+};
+
+key sample_key {                          // for TSIG; supported by parser
+       algorithm hmac - md5;              // but not yet implemented in the
+       secret "eW91ciBzZWNyZXQgaGVyZQ=="; // rest of the server
+};
+
+key key2 {
+       algorithm hmac - md5;
+       secret "ZXJlaCB0ZXJjZXMgcm91eQ==";
+};
+
+acl key_acl { key sample_key; }; // a request signed with sample_key
+
+server 1.2.3.4 {
+       request - ixfr no;
+       provide - ixfr no;
+       bogus no;                       // if yes, we won't query or listen
+                                       // to this server
+       transfer - format one - answer; // set transfer format for this
+                                       // server (see the description of
+                                       // 'transfer-format' above)
+                                       // if not specified, the global option
+                                       // will be used
+       transfers 0;                    // not implemented
+       keys{ "sample_key" };           // for TSIG; supported by the parser
+                                       // but not yet implemented in the
+                                       // rest of the server
+#Now called 'request-ixfr'
+#support - ixfr yes; // for IXFR supported by server
+                    // if yes, the listed server talks IXFR
+};
+
+logging {
+       /*
+        * All log output goes to one or more "channels"; you can make as
+        * many of them as you want.
+        */
+
+       channel syslog_errors { // this channel will send errors or
+               syslog user;    // or worse to syslog (user facility)
+               severity error;
+       };
+
+       channel stderr_errors { stderr; };
+
+       /*
+        * Channels have a severity level.  Messages at severity levels
+        * greater than or equal to the channel's level will be logged on
+        * the channel.  In order of decreasing severity, the levels are:
+        *
+        *      critical                a fatal error
+        *      error
+        *      warning
+        *      notice                  a normal, but significant event
+        *      info                    an informational message
+        *      debug 1                 the least detailed debugging info
+        *      ...
+        *      debug 99                the most detailed debugging info
+        */
+
+       /*
+        * Here are the built-in channels:
+        *
+        *      channel default_syslog {
+        *              syslog daemon;
+        *              severity info;
+        *      };
+        *
+        *      channel default_debug {
+        *              file "named.run";       // note: stderr is used instead
+        *                                      // of "named.run" if the server
+        *                                      // is started with the "-f"
+        *                                      // option.
+        *              severity dynamic;       // this means log debugging
+        *                                      // at whatever debugging level
+        *                                      // the server is at, and don't
+        *                                      // log anything if not
+        *                                      // debugging.
+        *      };
+        *
+        *      channel null {                  // this is the bit bucket;
+        *              file "/dev/null";       // any logging to this channel
+        *                                      // is discarded.
+        *      };
+        *
+        *      channel default_stderr {        // writes to stderr
+        *              file "<stderr>";        // this is illustrative only;
+        *                                      // there's currently no way
+        *                                      // of saying "stderr" in the
+        *                                      // configuration language.
+        *                                      // i.e. don't try this at home.
+        *              severity info;
+        *      };
+        *
+        *      default_stderr only works before the server daemonizes (i.e.
+        *      during initial startup) or when it is running in foreground
+        *      mode (-f command line option).
+        */
+
+       /*
+        * There are many categories, so you can send the logs
+        * you want to see wherever you want, without seeing logs you
+        * don't want.  Right now the categories are
+        *
+        *      default                 the catch-all.  many things still
+        *                              aren't classified into categories, and
+        *                              they all end up here.  also, if you
+        *                              don't specify any channels for a
+        *                              category, the default category is used
+        *                              instead.
+        *      config                  high-level configuration file
+        *                              processing
+        *      parser                  low-level configuration file processing
+        *      queries                 what used to be called "query logging"
+        *      lame-servers            messages like "Lame server on ..."
+        *      statistics
+        *      panic                   if the server has to shut itself
+        *                              down due to an internal problem, it
+        *                              logs the problem here (as well as
+        *                              in the problem's native category)
+        *      update                  dynamic update
+        *      ncache                  negative caching
+        *      xfer-in                 zone transfers we're receiving
+        *      xfer-out                zone transfers we're sending
+        *      db                      all database operations
+        *      eventlib                debugging info from the event system
+        *                              (see below)
+        *      packet                  dumps of packets received and sent
+        *                              (see below)
+        *      notify                  the NOTIFY protocol
+        *      cname                   messages like "XX points to a CNAME"
+        *      security                approved/unapproved requests
+        *      os                      operating system problems
+        *      insist                  consistency check failures
+        *      maintenance             periodic maintenance
+        *      load                    zone loading
+        *      response-checks         messages like
+        *                              "Malformed response ..."
+        *                              "wrong ans. name ..."
+        *                              "unrelated additional info ..."
+        *                              "invalid RR type ..."
+        *                              "bad referral ..."
+        */
+
+       category parser {
+               syslog_errors;  // you can log to as many channels
+               default_syslog; // as you want
+       };
+
+       category lame - servers { null; }; // don't log these at all
+
+       channel moderate_debug {
+               file "foo";           // foo
+               severity debug 3;     // level 3 debugging to file
+               print - time yes;     // timestamp log entries
+               print - category yes; // print category name
+               print - severity yes; // print severity level
+                                     /*
+                                      * Note that debugging must have been turned on either
+                                      * on the command line or with a signal to get debugging
+                                      * output (non-debugging output will still be written to
+                                      * this channel).
+                                      */
+       };
+
+       channel another {
+               file "bar" versions 99 size 10M;
+               severity info;
+       };
+
+       channel third {
+               file "bar" size 100000 versions unlimited;
+               severity debug; // use default debug level
+       };
+
+       /*
+        * If you don't want to see "zone XXXX loaded" messages but do
+        * want to see any problems, you could do the following.
+        */
+       channel no_info_messages {
+               syslog;
+               severity notice;
+       };
+
+       category load { no_info_messages; };
+
+       /*
+        * You can also define category "default"; it gets used when no
+        * "category" statement has been given for a category.
+        */
+       category default {
+               default_syslog;
+               moderate_debug;
+       };
+
+       /*
+        * If you don't define category default yourself, the default
+        * default category will be used.  It is
+        *
+        *      category default { default_syslog; default_debug; };
+        */
+
+       /*
+        * If you don't define category panic yourself, the default
+        * panic category will be used.  It is
+        *
+        *      category panic { default_syslog; default_stderr; };
+        */
+
+       /*
+        * Two categories, 'packet' and 'eventlib', are special.  Only one
+        * channel may be assigned to each of them, and it must be a
+        * file channel.  If you don't define them  yourself, they default to
+        *
+        *      category eventlib { default_debug; };
+        *
+        *      category packet { default_debug; };
+        */
+};
+
+#include "filename"; // can't do within a statement
diff --git a/fuzz/isc_lex_gettoken.in/simple b/fuzz/isc_lex_gettoken.in/simple
new file mode 100644 (file)
index 0000000..105e53a
--- /dev/null
@@ -0,0 +1,6 @@
+text
+to
+be
+processed
+by
+lexer
diff --git a/fuzz/libfuzzer.sh b/fuzz/libfuzzer.sh
new file mode 100755 (executable)
index 0000000..a28d86a
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh -ex
+
+# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+#
+# SPDX-License-Identifier: MPL-2.0
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0.  If a copy of the MPL was not distributed with this
+# file, you can obtain one at https://mozilla.org/MPL/2.0/.
+#
+# See the COPYRIGHT file distributed with this work for additional
+# information regarding copyright ownership.
+
+exec "${2}" "${1}/$(basename "${2}").in" -max_total_time=5 -print_pcs=1 -print_final_stats=1 -print_corpus_stats=1 -print_coverage=1
index 79689d9b99bbeb30b2118c2880b3c91f79328d28..335197f06e0c65641215a374c7d442d0e15ad97a 100644 (file)
 
 #include <dirent.h>
 
-bool debug = false;
+static void
+test_one_file(const char *filename) {
+       int fd;
+       struct stat st;
+       char *data;
+       ssize_t n;
+
+       if ((fd = open(filename, O_RDONLY)) == -1) {
+               fprintf(stderr, "Failed to open %s: %s\n", filename,
+                       strerror(errno));
+               return;
+       }
+
+       if (fstat(fd, &st) != 0) {
+               fprintf(stderr, "Failed to stat %s: %s\n", filename,
+                       strerror(errno));
+               goto closefd;
+       }
+
+       data = malloc(st.st_size);
+       n = read(fd, data, st.st_size);
+       if (n == st.st_size) {
+               printf("testing %zd bytes from %s\n", n, filename);
+               fflush(stdout);
+               LLVMFuzzerTestOneInput((const uint8_t *)data, n);
+               fflush(stderr);
+       } else {
+               if (n < 0) {
+                       fprintf(stderr,
+                               "Failed to read %zd bytes from %s: %s\n",
+                               (ssize_t)st.st_size, filename, strerror(errno));
+               } else {
+                       fprintf(stderr,
+                               "Failed to read %zd bytes from %s, got %zd\n",
+                               (ssize_t)st.st_size, filename, n);
+               }
+       }
+       free(data);
+closefd:
+       close(fd);
+}
 
 static void
 test_all_from(const char *dirname) {
@@ -40,53 +80,13 @@ test_all_from(const char *dirname) {
 
        while ((dp = readdir(dirp)) != NULL) {
                char filename[strlen(dirname) + strlen(dp->d_name) + 2];
-               int fd;
-               struct stat st;
-               char *data;
-               ssize_t n;
 
                if (dp->d_name[0] == '.') {
                        continue;
                }
                snprintf(filename, sizeof(filename), "%s/%s", dirname,
                         dp->d_name);
-
-               if ((fd = open(filename, O_RDONLY)) == -1) {
-                       fprintf(stderr, "Failed to open %s: %s\n", filename,
-                               strerror(errno));
-                       continue;
-               }
-
-               if (fstat(fd, &st) != 0) {
-                       fprintf(stderr, "Failed to stat %s: %s\n", filename,
-                               strerror(errno));
-                       goto closefd;
-               }
-
-               data = malloc(st.st_size);
-               n = read(fd, data, st.st_size);
-               if (n == st.st_size) {
-                       printf("testing %zd bytes from %s\n", n, filename);
-                       fflush(stdout);
-                       LLVMFuzzerTestOneInput((const uint8_t *)data, n);
-                       fflush(stderr);
-               } else {
-                       if (n < 0) {
-                               fprintf(stderr,
-                                       "Failed to read %zd bytes from %s: "
-                                       "%s\n",
-                                       (ssize_t)st.st_size, filename,
-                                       strerror(errno));
-                       } else {
-                               fprintf(stderr,
-                                       "Failed to read %zd bytes from %s"
-                                       ", got %zd\n",
-                                       (ssize_t)st.st_size, filename, n);
-                       }
-               }
-               free(data);
-       closefd:
-               close(fd);
+               test_one_file(filename);
        }
 
        closedir(dirp);
@@ -94,14 +94,30 @@ test_all_from(const char *dirname) {
 
 int
 main(int argc, char **argv) {
+       int ret;
        char corpusdir[PATH_MAX];
        const char *target = strrchr(argv[0], '/');
 
-       UNUSED(argc);
-       UNUSED(argv);
+       ret = LLVMFuzzerInitialize(&argc, &argv);
+       if (ret != 0) {
+               fprintf(stderr, "LLVMFuzzerInitialize failure: %d\n", ret);
+               return 1;
+       }
 
-       if (argc != 1) {
+       if (argv[1] != NULL && strcmp(argv[1], "-d") == 0) {
                debug = true;
+               argv++;
+               argc--;
+       }
+
+       if (argv[1] != NULL) {
+               while (argv[1] != NULL) {
+                       test_one_file(argv[1]);
+                       argv++;
+                       argc--;
+               }
+               POST(argc);
+               return (0);
        }
 
        target = (target != NULL) ? target + 1 : argv[0];
@@ -123,8 +139,11 @@ main(int argc, char **argv) {
        int ret;
        unsigned char buf[64 * 1024];
 
-       UNUSED(argc);
-       UNUSED(argv);
+       ret = LLVMFuzzerInitialize(&argc, &argv);
+       if (ret != 0) {
+               fprintf(stderr, "LLVMFuzzerInitialize failure: %d\n", ret);
+               return 1;
+       }
 
 #ifdef __AFL_LOOP
        while (__AFL_LOOP(10000)) { /* only works with afl-clang-fast */