• Tony Finch's avatar
    Fuzzing and benchmarking for dns_name_fromwire() · 04f3000d
    Tony Finch authored and Tony Finch's avatar Tony Finch committed
    Since this is very sensitive code which has often had security
    problems in many DNS implementations, it needs a decent amount of
    validation. This fuzzer ensures that the new code has the same output
    as the old code, and that it doesn't take longer than a second.
    
    The benchmark uses the fuzzer's copy of the old dns_name_fromwire()
    code to compare a number of scenarios: many compression pointers, many
    labels, long labels, random data, with/without downcasing.
    04f3000d