commit dd9fb91a3196c9e457789ca4c10b5d241b7d6456
Author: Wlodzimierz Borkowski <wlodek <email address hidden>>
Date: Sun Aug 24 15:48:18 2014 +0200
Change ports range in validators and test function
Current implementation for validating the port number and protocol
number accepts invalid values. For port number it accepts -1 which is
invalid, and the 0 which is used as programming technique for specifying
system-allocated (dynamic) ports. For protocol number it accepts only
one invalid value which is -1.
Proposed solution changes the range of:
- valid port numbers from <-1, 65535> to <1, 65535>
- valid protocol numbers from <-1, 255> to <0, 255>
Reviewed: https:/ /review. openstack. org/116508 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=dd9fb91a319 6c9e457789ca4c1 0b5d241b7d6456
Committed: https:/
Submitter: Jenkins
Branch: master
commit dd9fb91a3196c9e 457789ca4c10b5d 241b7d6456
Author: Wlodzimierz Borkowski <wlodek <email address hidden>>
Date: Sun Aug 24 15:48:18 2014 +0200
Change ports range in validators and test function
Current implementation for validating the port number and protocol allocated (dynamic) ports. For protocol number it accepts only
number accepts invalid values. For port number it accepts -1 which is
invalid, and the 0 which is used as programming technique for specifying
system-
one invalid value which is -1.
Proposed solution changes the range of:
- valid port numbers from <-1, 65535> to <1, 65535>
- valid protocol numbers from <-1, 255> to <0, 255>
Co-Authored-By: Wlodzimierz Borkowski <email address hidden>
Co-Authored-By: Kamil Rykowski <email address hidden>
Closes-Bug: 1329571 cc91d586dad1c01 d8de91d1957
Closes-Bug: 1431367
Change-Id: I2dc83b611deaa0