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

QDir::operator[](int pos) crash if pos out of range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.0
    • 4.6.1
    • Core: I/O
    • None
    • Linux (Ubuntu)
    • 0b7474c8ef9167bef92f8a09e8a818334822aa36

      The Qt 4.6 document says "Returns an empty string if pos is out of range or if the entryList() function failed."
      But in fact it will crash if pos == -1.

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

            biochimia João Abecasis
            workingpad yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes