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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes