[chirp_devel] [PATCH 0 of 1 ] URGENT PATCH!
This patch correct a bug that allow writing over frequency ranges with the result of bricking radio!! It's urgent to apply it in the hope no users try to change frequency ranges in this while.
73 de IZ3GME Marco
# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1350561765 -7200 # Node ID 042bde5392d18854d9d9bbb54e5ab3403fedeaf5 # Parent ee065eabb29678c1591a4c792badb081d690dc8b [KG-UVD1P KG-UV6] Correct a bug which could allow writing over frequency ranges Introduced implementing feature #285
diff --git a/chirp/wouxun.py b/chirp/wouxun.py --- a/chirp/wouxun.py +++ b/chirp/wouxun.py @@ -275,14 +275,14 @@ if element.get_shortname() != "freqranges" : # frequency ranges are read only self.set_settings(element) - continue - try: - setattr(self._memobj.settings, - element.get_name(), - element.value) - except Exception, e: - print element.get_name() - raise + else: + try: + setattr(self._memobj.settings, + element.get_name(), + element.value) + except Exception, e: + print element.get_name() + raise
participants (2)
-
Dan Smith
-
Marco Filippi IZ3GME