PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001364PacketFencecorepublic2012-01-11 09:492015-02-18 10:55
Reporterobilodeau 
Assigned To 
PrioritynormalSeverityminorReproducibilityrandom
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001364: our Config::IniFiles usage is not bullet proof
DescriptionSee 0000960: "Using ->ReWriteConfig instead of ->WriteConfig in pfcmd could've fixed it however I just read that both don't perform locking or transaction control so it would be worse if we read an incompletely written file then modify it and write it back."

See https://metacpan.org/module/Config::IniFiles#BUGS [^]

Because Config::IniFiles performs no locking, the following would be possible: someone makes a change between the time pfcmd reads and write another change. The original change would be lost.

Because pfcmd reads, performs the change then writes. Chances are probably very low that someone ever got bitten by this.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0003871)
lmunro (administrator)
2015-02-18 10:55

Obsolete bug tracker entries.
PF 4 introduced changes that either make these irrelevant or impossible to reproduce.

New issues are moving to github issues.

- Issue History
Date Modified Username Field Change
2012-01-11 09:49 obilodeau New Issue
2012-01-11 09:49 obilodeau Description Updated
2015-02-18 10:55 lmunro Note Added: 0003871
2015-02-18 10:55 lmunro Status new => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker