Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-zeroconf for openSUSE:Factory checked in at 2022-02-05 23:23:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zeroconf (Old) and /work/SRC/openSUSE:Factory/.python-zeroconf.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zeroconf" Sat Feb 5 23:23:05 2022 rev:30 rq:951682 version:0.38.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zeroconf/python-zeroconf.changes 2022-01-10 23:53:46.276813170 +0100 +++ /work/SRC/openSUSE:Factory/.python-zeroconf.new.1898/python-zeroconf.changes 2022-02-05 23:23:42.443709574 +0100 @@ -1,0 +2,6 @@ +Fri Feb 4 22:29:27 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.38.3: + * Make decode errors more helpful in finding the source of the bad data + +------------------------------------------------------------------- Old: ---- python-zeroconf-0.38.1.obscpio New: ---- python-zeroconf-0.38.3.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zeroconf.spec ++++++ --- /var/tmp/diff_new_pack.DUjUJQ/_old 2022-02-05 23:23:42.979705908 +0100 +++ /var/tmp/diff_new_pack.DUjUJQ/_new 2022-02-05 23:23:42.983705880 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-zeroconf -Version: 0.38.1 +Version: 0.38.3 Release: 0 Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) License: LGPL-2.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.DUjUJQ/_old 2022-02-05 23:23:43.015705661 +0100 +++ /var/tmp/diff_new_pack.DUjUJQ/_new 2022-02-05 23:23:43.019705634 +0100 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/jstasiak/python-zeroconf</param> <param name="scm">git</param> - <param name="revision">0.38.1</param> + <param name="revision">0.38.3</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">(.*)</param> </service> ++++++ python-zeroconf-0.38.1.obscpio -> python-zeroconf-0.38.3.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-zeroconf-0.38.1/README.rst new/python-zeroconf-0.38.3/README.rst --- old/python-zeroconf-0.38.1/README.rst 2021-12-24 03:47:53.000000000 +0100 +++ new/python-zeroconf-0.38.3/README.rst 2022-02-01 00:23:46.000000000 +0100 @@ -138,6 +138,16 @@ Changelog ========= +0.38.3 +====== + +Version bump only, no changes from 0.38.2 + +0.38.2 +====== + +* Make decode errors more helpful in finding the source of the bad data (#1052) @bdraco + 0.38.1 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-zeroconf-0.38.1/setup.cfg new/python-zeroconf-0.38.3/setup.cfg --- old/python-zeroconf-0.38.1/setup.cfg 2021-12-24 03:47:53.000000000 +0100 +++ new/python-zeroconf-0.38.3/setup.cfg 2022-02-01 00:23:46.000000000 +0100 @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.38.1 +current_version = 0.38.3 commit = True tag = True tag_name = {new_version} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-zeroconf-0.38.1/zeroconf/__init__.py new/python-zeroconf-0.38.3/zeroconf/__init__.py --- old/python-zeroconf-0.38.1/zeroconf/__init__.py 2021-12-24 03:47:53.000000000 +0100 +++ new/python-zeroconf-0.38.3/zeroconf/__init__.py 2022-02-01 00:23:46.000000000 +0100 @@ -79,7 +79,7 @@ __author__ = 'Paul Scott-Murphy, William McBrine' __maintainer__ = 'Jakub Stasiak <ja...@stasiak.at>' -__version__ = '0.38.1' +__version__ = '0.38.3' __license__ = 'LGPL' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-zeroconf-0.38.1/zeroconf/_protocol/incoming.py new/python-zeroconf-0.38.3/zeroconf/_protocol/incoming.py --- old/python-zeroconf-0.38.1/zeroconf/_protocol/incoming.py 2021-12-24 03:47:53.000000000 +0100 +++ new/python-zeroconf-0.38.3/zeroconf/_protocol/incoming.py 2022-02-01 00:23:46.000000000 +0100 @@ -275,7 +275,9 @@ self.offset = self._decode_labels_at_offset(self.offset, labels, seen_pointers) name = ".".join(labels) + "." if len(name) > MAX_NAME_LENGTH: - raise IncomingDecodeError(f"DNS name {name} exceeds maximum length of {MAX_NAME_LENGTH}") + raise IncomingDecodeError( + f"DNS name {name} exceeds maximum length of {MAX_NAME_LENGTH} from {self.source}" + ) return name def _decode_labels_at_offset(self, off: int, labels: List[str], seen_pointers: Set[int]) -> int: @@ -292,16 +294,24 @@ continue if length < 0xC0: - raise IncomingDecodeError(f"DNS compression type {length} is unknown at {off}") + raise IncomingDecodeError( + f"DNS compression type {length} is unknown at {off} from {self.source}" + ) # We have a DNS compression pointer link = (length & 0x3F) * 256 + self.data[off + 1] if link > self.data_len: - raise IncomingDecodeError(f"DNS compression pointer at {off} points to {link} beyond packet") + raise IncomingDecodeError( + f"DNS compression pointer at {off} points to {link} beyond packet from {self.source}" + ) if link == off: - raise IncomingDecodeError(f"DNS compression pointer at {off} points to itself") + raise IncomingDecodeError( + f"DNS compression pointer at {off} points to itself from {self.source}" + ) if link in seen_pointers: - raise IncomingDecodeError(f"DNS compression pointer at {off} was seen again") + raise IncomingDecodeError( + f"DNS compression pointer at {off} was seen again from {self.source}" + ) linked_labels = self.name_cache.get(link, []) if not linked_labels: seen_pointers.add(link) @@ -309,7 +319,9 @@ self.name_cache[link] = linked_labels labels.extend(linked_labels) if len(labels) > MAX_DNS_LABELS: - raise IncomingDecodeError(f"Maximum dns labels reached while processing pointer at {off}") + raise IncomingDecodeError( + f"Maximum dns labels reached while processing pointer at {off} from {self.source}" + ) return off + DNS_COMPRESSION_POINTER_LEN - raise IncomingDecodeError("Corrupt packet received while decoding name") + raise IncomingDecodeError("Corrupt packet received while decoding name from {self.source}") ++++++ python-zeroconf.obsinfo ++++++ --- /var/tmp/diff_new_pack.DUjUJQ/_old 2022-02-05 23:23:43.175704567 +0100 +++ /var/tmp/diff_new_pack.DUjUJQ/_new 2022-02-05 23:23:43.179704540 +0100 @@ -1,5 +1,5 @@ name: python-zeroconf -version: 0.38.1 -mtime: 1640314073 -commit: 6a11f24e1fc9d73f0dbb62efd834f17a9bd451c4 +version: 0.38.3 +mtime: 1643671426 +commit: e42549cb70796d0577c97be96a09bca0056a5755