mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
parent
6fd748d1fc
commit
bf237274fc
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue