Closed
Bug 1558516
Opened 6 years ago
Closed 6 years ago
[mozdevice] Incorrect check for rm effectiveness
Categories
(Testing :: Mozbase, defect)
Tracking
(firefox69 fixed)
RESOLVED
FIXED
mozilla69
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: gbrown, Assigned: gbrown)
Details
Attachments
(1 file)
The path to rm() (which can be recursive) can be a file or a directory. After executing rm, rm() checks that the path is not a file -- but what if it was a directory?
| Assignee | ||
Comment 1•6 years ago
|
||
If path exists in any form after rm, rm() should raise.
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48fdaccbf5b8
[mozdevice] Improve check for effectiveness of rm; r=bc
Comment 3•6 years ago
|
||
Type: defect → task
Comment 4•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
| Assignee | ||
Updated•6 years ago
|
Type: task → defect
You need to log in
before you can comment on or make changes to this bug.
Description
•