CERT: reject records with a empty certificate field

This commit is contained in:
Mark Andrews
2020-08-13 23:06:55 +10:00
parent 3c492b3ef1
commit a238f37239
+1 -1
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);
}