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

QNetworkReply segfaults if using ssl and connection is terminated unexpectedly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.11.3
    • Network: SSL
    • None
    • Raspberry Pi (raspbian buster); Not reproducible under x86_64
    • Linux/X11

    Description

      When connecting to a https server and the server unexpectedly closes the connection, it causes the client to segfault.

      Test code is attached.  It tries to establish a connection to localhost and do a get.  To reproduce:

      1. In one terminal:

      sudo nc -l 443

      2. In another, run the test code.

      3. ctrl+c in the netcat terminal to close the connection.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            henniev Hennie Van der Merwe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes