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

[REG 4.8->5.0] Windows: QDir::cdUp() at network path root no longer returns false

    XMLWordPrintable

Details

    • f7b44f879cdded7b2c6b604df873f7194e56a63a , 101449a4cfa9c0d216332c6dc8ba826e8109e09d (qtbase/5.8, 12.12.2016, 5.8.1)

    Description

      QDir::cdUp() does not return false when going up from root of UNC network path. On local hard drive it does return false. In Qt 4.8 it also returns false when cdUp():ing on network path root.

      Steps to reproduce:

      • Run attached sample with valid network path as argument
      • EXPECTED: The while-loop exits when cdUp():ing first time from the network path root
      • ACTUAL: cdUp() never returns false, causing infinite loop

      Attachments

        1. qtbug53712_cd.zip
          1 kB
        2. qtbug53712_diag.diff
          1 kB
        3. qtbug53712_log.txt
          47 kB
        4. qtbug53712_nps_diag.diff
          2 kB
        5. qtbug53712_nps.zip
          1 kB
        6. qtbug53712.zip
          1 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              jussi_witick Jussi Witick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes