mirror of https://github.com/c-ares/c-ares.git
The legacy c-ares parsers such as ares_parse_txt_reply() and ares_parse_srv_reply() historically all used different logic and parsing. As of c-ares 1.21.0 these are simply wrappers around a single parser, and simply convert the parsed DNS response into the data structures the legacy parsers used which is a small amount of code and not likely going to vary based on the input data. Instead, these days, it makes more sense to test the new parser directly instead of calling it 10 or 11 times with the same input data to speed up the number of iterations per second the fuzzer can perform. We are keeping this legacy fuzzer test for historic reasons or if someone finds them of use hidden behind a define of USE_LEGACY_PARSERS. Authored-By: Brad House (@bradh352)pull/871/head
parent
a95ddb9426
commit
7fb17cbe64
1 changed files with 38 additions and 1 deletions
Loading…
Reference in new issue