PacketFence - BTS - PacketFence | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001109 | PacketFence | error-handling | public | 2010-11-03 12:32 | 2012-10-19 10:20 |
Reporter | rafamiga | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | 1.9.1 | ||||
Target Version | Fixed in Version | ||||
fixed in git revision | |||||
fixed in mtn revision | |||||
Summary | 0001109: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/Net/MAC/Vendor.pm line 243 (/bugs/view.php?id=1) | ||||
Description | [17:18:32 0.12] root@niach:/etc/raddb# ~/pf/bin/pfcmd lookup node c8:bc:c8:6b:36:1c Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/Net/MAC/Vendor.pm line 243 (0000001) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. | ||||
Steps To Reproduce | |||||
Additional Information | This happens for this particular MAC, which belongs an iPad device. I tried this: mysql -e 'select mac from node' pf | xargs -n 1 -i ~/pf/bin/pfcmd lookup node {} and only three nodes caused error (sic!). What's more interesting, when I re-checked the other two, I'm now getting a clean response, with no error on "pfcmd lookup node ..." but c8:bc:c8:6b:36:1c gives me consistent error. I can't rally tell why both CLI and web fails for this node. Nevertheless, maybe a sanity check near line 243 of /usr/lib/perl5/vendor_perl/5.8.8/Net/MAC/Vendor.pm will prevent this from happening. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-11-03 12:32 | rafamiga | New Issue | |||
2010-11-03 12:35 | rafamiga | Note Added: 0001752 | |||
2010-11-19 14:38 | obilodeau | Target Version | => 2.1.0 | ||
2010-11-19 14:41 | obilodeau | Category | 1.9.x => error-handling | ||
2011-02-03 10:29 | obilodeau | Status | new => assigned | ||
2011-02-03 10:29 | obilodeau | Assigned To | => obilodeau | ||
2011-02-03 10:30 | obilodeau | Note Added: 0001849 | |||
2011-02-03 10:31 | obilodeau | Status | assigned => feedback | ||
2011-02-03 10:48 | obilodeau | Note Added: 0001852 | |||
2011-03-03 15:15 | obilodeau | Target Version | 2.1.0 => +1 | ||
2011-03-03 15:18 | obilodeau | Target Version | +1 => +2 | ||
2011-03-07 11:30 | obilodeau | Note Added: 0001900 | |||
2011-03-07 11:30 | obilodeau | Status | feedback => resolved | ||
2011-03-07 11:30 | obilodeau | Resolution | open => no change required | ||
2011-05-04 11:51 | obilodeau | Status | resolved => closed | ||
2012-10-19 10:20 | fgaudreault | Assigned To | obilodeau => | ||
2012-10-19 10:20 | fgaudreault | Target Version | +2 => |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|