Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82262

removeRecursively() deletes whole C:\

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.14.0
    • Core: I/O
    • None
    • Windows

    Description

      If by mistake you call removeRecursively() over QDir("/"), the function starts deleting the whole C:\ drive

      Some of the files can't be deleted and so (probably) the function returns false

      I think this could be a serious problem and the function should check for this kind of special folders before starting deleting

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            -vix- ERNESTO VIGANO'
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes