- Fix unit test parse of origin syntax.

This commit is contained in:
W.C.A. Wijngaards 2023-11-09 15:26:46 +01:00
parent 0bae242cbf
commit 197bf15402
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
9 November 2023: Wouter
- Fix unit test parse of origin syntax.
2 November 2023: Wouter
- Set version number to 1.19.0.
- Tag for 1.19.0rc1 release. It became 1.19.0 release on 8 nov 2023.

View File

@ -470,6 +470,7 @@ get_origin(const char* name, struct sldns_file_parse_state* pstate, char* parse)
store = *end;
*end = 0;
verbose(3, "parsing '%s'\n", parse);
pstate->origin_len = sizeof(pstate->origin);
status = sldns_str2wire_dname_buf(parse, pstate->origin,
&pstate->origin_len);
*end = store;