PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000690PacketFencecorepublic2009-04-06 16:592012-02-29 10:57
Reporterrbalzard 
Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000690: pfsetvlan does not handle very well when a switch is removed from the switch config
DescriptionI just found out this issue:
I have some open entries in locationlog for a switch that has been deleted since in switches.conf.

pfsetvlan has a problem in do_port_security() since it does not validate if the switch is still defined in switches.conf. For pfsetvlan it is seems to be obvious that a switch is never deleted from the config.
But this could happened.

We should add a simple test here before doing anything with the "oldswitch" and make sure it is still defined.

Very low probability that this happens in "real life" but it should be fixed.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0001242)
user4
2009-05-25 21:03

fixed in mtn revision f9350ffdf5625a1bc4e5420ecb20ae0f69bd780e

- Issue History
Date Modified Username Field Change
2009-04-06 16:59 rbalzard New Issue
2009-05-25 20:47 user4 Status new => assigned
2009-05-25 20:47 user4 Assigned To => user4
2009-05-25 21:03 user4 Status assigned => closed
2009-05-25 21:03 user4 Note Added: 0001242
2009-05-25 21:03 user4 Resolution open => fixed
2010-04-15 17:55 obilodeau Category 1.8.3 => 1.8.x
2012-02-29 10:57 obilodeau Category 1.8.x => core


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker