]> git.ipfire.org Git - thirdparty/ldns.git/commit
Ensure uniform handling of spaces & tabs when parsing RRs. 159/head
authorFelipe Gasper <felipe@felipegasper.com>
Wed, 16 Mar 2022 00:57:00 +0000 (20:57 -0400)
committerFelipe Gasper <felipe@felipegasper.com>
Wed, 16 Mar 2022 01:16:44 +0000 (21:16 -0400)
commit60ae20a86d75108e05f21af4773a8418ddf0712a
treea5c4cbe53fae8060c93f550647a728c3f87b046f
parent2805f529559150e72acb9275ea3a1517b92a078e
Ensure uniform handling of spaces & tabs when parsing RRs.

Issue #157: This fixes the same type of bug as #147, in a couple places
where that issue’s fix didn’t apply. A small refactor is done to
deduplicate whitespace-checking logic. Tests are added as well.
rr.c
test/28-tab-instead-of-space.tpkg/28-tab-between-cstrings-2.db [new file with mode: 0644]
test/28-tab-instead-of-space.tpkg/28-tab-between-cstrings-2.dsc [new file with mode: 0644]
test/28-tab-instead-of-space.tpkg/28-tab-between-cstrings-2.help [new file with mode: 0644]
test/28-tab-instead-of-space.tpkg/28-tab-between-cstrings-2.test [new file with mode: 0644]
test/29-generic-rdata-tab.tpkg/29-generic-rdata-tab.db [new file with mode: 0644]
test/29-generic-rdata-tab.tpkg/29-generic-rdata-tab.dsc [new file with mode: 0644]
test/29-generic-rdata-tab.tpkg/29-generic-rdata-tab.help [new file with mode: 0644]
test/29-generic-rdata-tab.tpkg/29-generic-rdata-tab.test [new file with mode: 0644]