Ticket #45830

make_dir() trying to create directory with an empty name

Open Date: 2022-10-11 17:23 Last Update: 2022-10-21 05:55

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

make_dir() creates path components one at a time. When it gets an absolute path, it considers the root directory '/' as the first directory separator, and tries to create directory by the name whats on its left side, i.e., nothing.

The mkdir() failure that follows has been harmless as we've ignored it, but with #44940 that's about to change.

Ticket History (3/4 Histories)

2022-10-11 17:23 Updated by: cazfi
  • New Ticket "make_dir() trying to create directory with an empty name" created
2022-10-12 23:40 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

To be pushed to all branches, including S2_6

2022-10-21 05:55 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login