Thanks to Qifan Zhang, Palo Alto Networks, for the report.
lookups are in progress, for a primary name. Also after the
change, it no longer picks up the old results. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
+ - Fix integer overflow in infra-cache-max-rtt calculation.
+ Thanks to Qifan Zhang, Palo Alto Networks, for the report.
12 June 2026: Wouter
- Fix that for auth-zone and rpz zones the allow-notify
#ifdef HAVE_TIME_H
#include <time.h>
#endif
+#include <limits.h>
#include "util/log.h"
#include "util/configyyrename.h"
#include "util/config_file.h"
int config_apply_max_rtt(int max_rtt)
{
USEFUL_SERVER_TOP_TIMEOUT = max_rtt;
- BLACKLIST_PENALTY = max_rtt*4;
+ BLACKLIST_PENALTY =
+#ifdef INT_MAX
+ (max_rtt > INT_MAX/4) ? INT_MAX :
+#endif
+ max_rtt*4;
PROBE_MAXRTO = probe_maxrto(max_rtt);
return max_rtt;
}