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

QNetworkReply segfaults if using ssl and connection is terminated unexpectedly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.11.3
    • Fix Version/s: None
    • Component/s: Network: SSL
    • Labels:
      None
    • Environment:
      Raspberry Pi (raspbian buster); Not reproducible under x86_64
    • Platform/s:
      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

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            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