Skip to content

Commit

Permalink
- Use consistent dname buffer sizes for RPZ
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphdolmans committed Jan 29, 2020
1 parent 1d91852 commit 7da16fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/rpz.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ rpz_find_zone(struct rpz* r, uint8_t* qname, size_t qname_len, uint16_t qclass,
{
uint8_t* ce;
size_t ce_len, ce_labs;
uint8_t wc[LDNS_MAX_DOMAINLEN];
uint8_t wc[LDNS_MAX_DOMAINLEN+1];
int exact;
struct local_zone* z = NULL;
if(wr) {
Expand Down

0 comments on commit 7da16fe

Please sign in to comment.