待辦事項 #45830

make_dir() trying to create directory with an empty name

啟用日期: 2022-10-11 17:23 最後更新: 2022-10-21 05:55

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
評語

To be pushed to all branches, including S2_6

2022-10-21 05:55 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入