]> git.ipfire.org Git - thirdparty/ldns.git/commit
Fix ldns_rdf2buffer_str_wks not to use after free. 202/head
authorFelipe Gasper <felipe@felipegasper.com>
Wed, 7 Dec 2022 00:36:53 +0000 (19:36 -0500)
committerFelipe Gasper <felipe@felipegasper.com>
Wed, 7 Dec 2022 00:42:01 +0000 (19:42 -0500)
commit0d2d9b363730415490a11eeaadc554e81fa27b7b
tree31dad4aee3e82f3594d7279866c395a86b9c67f0
parent1ce94b15eef320d84b6047d9abb93d48d2f1cde5
Fix ldns_rdf2buffer_str_wks not to use after free.

Issue #201: endprotoent() needs not to be called until we’re finished with
the protoent struct. (Found by running the test suite on OpenBSD.)
host2str.c