checked and handled, so that it does not crash later.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
connection usage is full, it waits for 50msec, to allow
existing queries to be resolved. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
+ - Fix that malloc failure for rpz_strip_nsdname is
+ checked and handled, so that it does not crash later.
+ Thanks to Qifan Zhang, Palo Alto Networks, for the report.
16 June 2026: Wouter
- Fix to disallow $INCLUDE for secondary zones. Start up
uint8_t* dname_stripped = NULL;
size_t dnamelen_stripped = 0;
- rpz_strip_nsdname_suffix(dname, dnamelen, &dname_stripped,
- &dnamelen_stripped);
+ if(!rpz_strip_nsdname_suffix(dname, dnamelen, &dname_stripped,
+ &dnamelen_stripped))
+ return;
if(a == RPZ_INVALID_ACTION) {
verbose(VERB_ALGO, "rpz: skipping invalid action");
free(dname_stripped);