mirror of
https://github.com/coredns/coredns.git
synced 2025-11-09 21:42:17 -05:00
Nil SOA causes panic if we compare it to incoming SOA (#291)
This commit is contained in:
committed by
Miek Gieben
parent
15297c8e63
commit
ec485a74d3
@@ -88,6 +88,9 @@ Transfer:
|
||||
if serial == -1 {
|
||||
return false, Err
|
||||
}
|
||||
if z.Apex.SOA == nil {
|
||||
return true, Err
|
||||
}
|
||||
return less(z.Apex.SOA.Serial, uint32(serial)), Err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user