PortAdmin crashes when non admin try to remove a vlan from the trunk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Undecided
|
John-Magne Bredal |
Bug Description
Hi,
A new portadmin bug.
A non administrator user is allowed to create a trunk on a switch port an add VLAN to this trunk (tested on a HP Procurve switch), but when he tries to remove VLAN from the trunk portadmin crashes with the message:
IndexError: array index out of range
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
IndexError: array index out of range
Regard
Knut-Helge.
Changed in nav: | |
status: | Fix Committed → Fix Released |
Changed in nav: | |
status: | Fix Committed → Fix Released |
This bug has the same cause as https:/ /bugs.launchpad .net/nav/ +bug/1538150 .
When creating the hexstring for saving allowed vlans to database, the initialized vector did not consider very high vlan numbers.
Fix here: /nav.uninett. no/hg/stable/ rev/5b4daff9094 c
https:/