Data race in rebuild_settings() #2855
Labels
b:1.8
Branch: 1.8.x
s:resolved
Status: Resolved. Solution implemented or scheduled
t:bug
Type: Bug. An issue causing error / flaw / malfunction
Milestone
MyBB 1.8 has a race condition where if multiple admins update a setting, any setting, simultaneously then it could lead to settings.php getting corrupted. I spoke to Euan about it, and he suggested something like flock() or similar to solve the problem.
Here's the actual implementation of rebuild_settings():
Original thread: Data race in rebuild_settings()
The text was updated successfully, but these errors were encountered: