mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:50:00 -04:00
Suffix may be used before it is assigned a value
CID 350722 (#5 of 7): Bad use of null-like value (FORWARD_NULL) 12. invalid_operation: Invalid operation on null-like value suffix. 145 r.authority.append( 146 dns.rrset.from_text( 147 "icky.ptang.zoop.boing." + suffix, 148 1, 149 IN, 150 NS, 151 "a.bit.longer.ns.name." + suffix, 152 ) 153 )
This commit is contained in:
parent
edc804b9b8
commit
432064f63c
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ def create_response(msg):
|
|||
qname = m.question[0].name.to_text()
|
||||
lqname = qname.lower()
|
||||
labels = lqname.split(".")
|
||||
suffix = ""
|
||||
|
||||
# get qtype
|
||||
rrtype = m.question[0].rdtype
|
||||
|
|
|
|||
Loading…
Reference in a new issue