[Python-modules-team] Bug#915866: [python3-dnspython] crashes on parsing DNS zone file with NSEC3
maxi at daemonizer.de
Fri Dec 7 12:34:44 GMT 2018
python3-dnspython crashes while parsing my zone files with DNSSEC and NSEC3.
The zone files are generated by the knot DNS server and I thus believe them to
be correct and valid.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dns/zone.py", line 691, in _rr_line
File "/usr/lib/python3/dist-packages/dns/rdata.py", line 428, in from_text
return cls.from_text(rdclass, rdtype, tok, origin, relativize)
File "/usr/lib/python3/dist-packages/dns/rdtypes/ANY/NSEC3.py", line 133, in from_text
TypeError: sequence item 0: expected str instance, int found
I found the problem has been fixed upstream in . Please add the fix to
Debian. I can confirm that the patch fixes the crash for me. Looking at the
latest upstream git commits there also seems to be a new release (1.16.0) with
this fix included in the pipeline.
I also can create a merge request on salsa for this patch if preferred.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part.
More information about the Python-modules-team