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

Segmentation fault using empty QSslConfiguration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.6.3, 4.7.0
    • Network, Network: SSL
    • None
    • linux or windows, does not remember (maybe both)
    • d686a95ed54b19336affc14c9222de54c9af0e72

    Description

      How to reproduce:

      QSslConfiguration sslconf;
      QNetworkManager mgr;
      QSslConfiguration::setDefaultConfiguration(sslconf);
      mgr.get(QNetworkRequest("https://evil.com"));
      

      How to fix:
      call instead another constructor of sslconf:

      QSslConfiguration sslconf(QSslConfiguration::defaultConfiguration());
      

      Attachments

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

        Activity

          People

            phartman Peter Hartmann (closed Nokia identity) (Inactive)
            socketpair@gmail.com Коренберг Марк
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes