bind9/lib
Mark Andrews b51c9eb797 Properly reject zero length ALPN in commatxt_fromtext
ALPN are defined as 1*255OCTET in RFC 9460.  commatxt_fromtext was not
rejecting invalid inputs produces by missing a level of escaping
which where later caught be dns_rdata_fromwire on reception.

These inputs should have been rejected

	svcb in svcb 1 1.svcb alpn=\,abc
	svcb1 in svcb 1 1.svcb alpn=a\,\,abc

and generated 00 03 61 62 63 and 01 61 00 02 61 62 63 respectively.

The correct inputs to include commas in the alpn requires double
escaping.

	svcb in svcb 1 1.svcb alpn=\\,abc
	svcb1 in svcb 1 1.svcb alpn=a\\,\\,abc

and generate 04 2C 61 62 63 and 06 61 2C 2C 61 62 63 respectively.
2024-08-01 10:20:55 +10:00
..
dns Properly reject zero length ALPN in commatxt_fromtext 2024-08-01 10:20:55 +10:00
isc Check that FILE_STREAM(channel) is not already closed 2024-07-31 17:36:38 +10:00
isccc Rework isccc_ccmsg to support multiple messages per tcp read 2024-04-18 20:08:44 +02:00
isccfg Mark SIG(0) quota settings as experimantal 2024-06-10 17:36:45 +02:00
ns Replace #define DNS_GETDB_ with struct of bools 2024-07-31 11:52:52 +00:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00