mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 00:58:39 -04:00
CERT: reject records with a empty certificate field
(cherry picked from commit a238f37239)
This commit is contained in:
parent
f09691feff
commit
baf7d114af
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ fromwire_cert(ARGS_FROMWIRE) {
|
|||
UNUSED(options);
|
||||
|
||||
isc_buffer_activeregion(source, &sr);
|
||||
if (sr.length < 5) {
|
||||
if (sr.length < 6) {
|
||||
return (ISC_R_UNEXPECTEDEND);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue