CERT: reject records with a empty certificate field
(cherry picked from commit a238f37239)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user