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

QFtpPrivate::_q_piError should check if pending is empty before using it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 4.6.3
    • 4.6.0
    • Network
    • None
    • Win Vistax64
    • 4d3d85e1a9de727329e8a8df3b572a778e2da6e2

    Description

      QFtpPrivate::_q_piError in the file qftp.cpp does not call pending.isEmpty() before calling pending.first(). In the case where there are no items in the pending list, this leads to QList::first triggering a fatal assertion. Other member functions of the QFtpPrivate class (and other classes in qftp.cpp), such as _q_piFinished and _q_startNextCommand, do check that pending is not empty before accessing it.

      Attachments

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

        Activity

          People

            mgoetz Markus Goetz (Inactive)
            aclight Adam Light
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes