Zbigniew Jędrzejewski-Szmek
2d9d62f658
resolve: enforce the search domain limit earlier ( #41938 )
...
The search domain limit is already enforced by dns_search_domain_new(),
but in this case it's way too late. Let's enforce it during the first
loop to avoid unnecessary parsing.
---
Also, set a similar limit for NTAs - introduce a new constant, since
there's no pre-existing limit. I pulled the value from a thin air since
there's (AFAIK) no mandated maximum/minimum for NTAs, but given they're
supposed to be a manual and _temporary_ workarounds, hopefully 2K of
NTAs will be more than enough (if not, please yell).
Also note: the newly added error messages don't have the trailing "."
and similarly the newly introduced constant doesn't have the "u" suffix
to match the style of the surrounding code (and I didn't want to fix the
surrounding code to make the diff minimal). If this is not desirable,
please also yell.
2026-05-05 11:12:25 +02:00
..
2026-04-30 11:12:33 +01:00
2026-04-22 17:41:42 +02:00
2026-04-30 11:12:33 +01:00
2026-05-04 10:07:04 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-04 10:03:46 +02:00
2026-05-01 07:10:31 +02:00
2026-04-22 16:49:36 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-04 15:25:03 +01:00
2026-04-19 06:02:48 +09:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-04 12:22:03 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 19:26:08 +02:00
2026-04-19 16:17:47 +09:00
2026-04-23 11:45:22 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-24 06:32:42 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 06:42:24 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-20 23:35:31 +02:00
2026-04-30 11:12:33 +01:00
2026-05-04 10:07:04 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-22 17:41:42 +02:00
2026-04-30 11:12:33 +01:00
2026-05-01 20:11:53 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 08:05:54 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-22 17:41:42 +02:00
2026-04-24 16:45:19 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 19:10:15 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 20:08:39 +02:00
2026-05-04 22:39:05 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-04 12:22:03 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 19:10:15 +02:00
2026-04-24 15:04:16 +02:00
2026-04-24 07:40:08 +09:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-03 10:18:38 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-22 23:05:50 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 10:10:22 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 06:42:24 +02:00
2026-04-22 16:49:36 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00