mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 20:49:59 -04:00
dns_resolver_createfetch() guarded against fetch loops by comparing the raw request name/type/domain before any fetch context existed. Move the check after the context is obtained and run it against the context itself, and only when we joined an already in-flight context (!new_fctx) that is also an ancestor in the parent chain. That is the real loop condition: the new fetch would block waiting on a fetch that is itself waiting on us. A newly created context waits on nothing, so it proceeds, bounded by the fetch depth limit and the complementary ADB loop detection. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| meson.build | ||