dns_message_findname and dns_message_sectiontotext incorrectly accepted DNS_SECTION_ANY. If DNS_SECTION_ANY was passed the section array could be incorrectly accessed at (-1). dns_message_pseudosectiontotext and dns_message_pseudosectiontoyaml incorrectly accepted DNS_PSEUDOSECTION_ANY. These functions are designed to process a single section.