-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix failure in mkdir() during startup #4558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4558 +/- ##
=======================================
Coverage 81.61% 81.62%
=======================================
Files 356 356
Lines 85540 85540
=======================================
+ Hits 69816 69819 +3
+ Misses 15724 15721 -3
|
|
This issue is a bit ridiculous. But alright. |
|
Will there be a patch level release containing the fix in the near future? |
Race condition in scapy secdev/scapy#4558
I'd love to understand why it's ridiculous. It's totally possible that I am missing a /s here ... ;) To clarify: this is a real problem. We had two concurrent processes in our test suite that ended up racing each other quite often exactly on this line and caused stochastic failures ... so I'm very happy to see this has been caught and released already! :) So, big thanks from me! |
|
The code is The fact that this can fail with an "already exists" error is ridiculous to me. |
@gpotter2 TOCTOU |
|
If we were in a multi processed code, sure. If you somehow managed to start multiple instances of Scapy, maybe. But that's not the case isn't it? Closing though. |
Fixes #4546