Fix isc_base64_tobuffer call for brid and hhit

Zero length records were not being rejected.

(cherry picked from commit bdb9c838a8)
This commit is contained in:
Mark Andrews 2026-01-24 18:32:40 +11:00 committed by Mark Andrews (GitLab job 6774357)
parent 6fd748d1fc
commit bf237274fc
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ fromtext_brid(ARGS_FROMTEXT) {
UNUSED(options);
UNUSED(callbacks);
return isc_base64_tobuffer(lexer, target, -1);
return isc_base64_tobuffer(lexer, target, -2);
}
static isc_result_t

View file

@ -28,7 +28,7 @@ fromtext_hhit(ARGS_FROMTEXT) {
UNUSED(options);
UNUSED(callbacks);
return isc_base64_tobuffer(lexer, target, -1);
return isc_base64_tobuffer(lexer, target, -2);
}
static isc_result_t