=== REQUEST FOR STABLE RELEASE UPDATE ===

1. While the bug does no harm (it exits with error because the netmask
is invalid), it is confusing for end users to see a python traceback

2. This has been addressed by adjusted src/ufw to return 'False' in
valid_address() with non-integer netmasks, allowing ufw to provide a
helpful message rather than a traceback.

3. Patch to src/ufw is 2 lines (without whitespace or comments) and very
minimal. Build tests have been updated as well to verify more valid and
invalid netmask combinations.

4. TEST CASE:
sudo ufw allow to 192.168.0.0/255.255.255.0

5. It is believed there is no regression potential

** Attachment added: "ufw_0.16.3.debdiff"
   http://launchpadlibrarian.net/14425090/ufw_0.16.3.debdiff

-- 
ufw ValueError when supplying dotted-decimal netmask
https://bugs.launchpad.net/bugs/224842
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to