Skip to content

Commit

Permalink
* Fix #254: Unquoted "value" rdata for CAA records fail to validate.
Browse files Browse the repository at this point in the history
  Follows the long string unquoted syntax from RFC8659, section 4.1.1.
  • Loading branch information
wcawijngaards committed Sep 12, 2024
1 parent 925bbe5 commit b87b8e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
CDS and CDNSKEY RRs. Thanks tgreenx
* PR #245: Make drill trace use IPv6 when used with -6
Thanks Paul Radford
* Fix #254: Unquoted "value" rdata for CAA records fail to validate.
Follows the long string unquoted syntax from RFC8659, section 4.1.1.

1.8.4 2024-07-19
* Fix building documentation in build directory.
Expand Down
6 changes: 0 additions & 6 deletions rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,6 @@ ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
ldns_buffer_skip(rd_buf, 1);
quoted = true;
}
if (!quoted && ldns_rr_descriptor_field_type(desc, r_cnt)
== LDNS_RDF_TYPE_LONG_STR) {

status = LDNS_STATUS_SYNTAX_RDATA_ERR;
goto error;
}
}

/* because number of fields can be variable, we can't rely on
Expand Down

0 comments on commit b87b8e1

Please sign in to comment.