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

Crash in QHttpNetworkReply with gzip-encoded empty response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.8.0, 5.0.0
    • Component/s: Network
    • Labels:
      None
    • Commits:
      371617983a7640a42d74db9c17f7ac3c9c22d29d

      Description

      If a HTTP server responds with gzip-encoded empty content body without defining Content-Length in the response header QHttpNetworkReplyPrivate::gunzipBodyPartiallyEnd will crash because it calls zlib inflateEnd for an uninitialized stream.

        Attachments

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

          Activity

            People

            Assignee:
            phartman Peter Hartmann (closed Nokia identity) (Inactive)
            Reporter:
            srosenda Sami Rosendahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes