Use isc_one_or_more when calling isc_hex_tobuffer

(cherry picked from commit 7feb0f5b53)
This commit is contained in:
Mark Andrews 2026-01-23 15:08:40 +11:00
parent fd76b90126
commit e8f2bae031
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ generic_fromtext_tlsa(ARGS_FROMTEXT) {
/*
* Certificate Association Data.
*/
return isc_hex_tobuffer(lexer, target, -2);
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t

View file

@ -29,7 +29,7 @@ fromtext_in_eid(ARGS_FROMTEXT) {
UNUSED(rdclass);
UNUSED(callbacks);
return isc_hex_tobuffer(lexer, target, -2);
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t

View file

@ -29,7 +29,7 @@ fromtext_in_nimloc(ARGS_FROMTEXT) {
UNUSED(rdclass);
UNUSED(callbacks);
return isc_hex_tobuffer(lexer, target, -2);
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t