CERT: reject records with a empty certificate field

(cherry picked from commit a238f37239)
This commit is contained in:
Mark Andrews 2020-08-13 13:38:49 +10:00
parent f09691feff
commit baf7d114af

View file

@ -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);
}