5957. [security] Prevent excessive resource use while processing large delegations. (CVE-2022-2795) [GL #3394] Resolves: CVE-2022-2795