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

Qt SSL leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 4.6.2
    • Network: SSL
    • None
    • Ubuntu 10.04.1 LTS
    • a8a5b38b000ee8d4eed099bfc0a8a3528df6ad17

    Description

      Leak occurs in qsslsocket_openssl.cpp following to call to q_SSL_load_error_strings() in QSslSocketPrivate::ensureInitialized.

      According to OpenSSL documentation, calls to q_SSL_load_error_strings must eventually be followed by a call to ERR_free_strings to free the loaded strings. ERR_free_strings does not seem to be called at all in Qt SSL files.

      Call stack is available in attached Valgrind report extract.

      Attachments

        For Gerrit Dashboard: QTBUG-15732
        # Subject Branch Project Status CR V

        Activity

          People

            xcm Martin Petersson (Inactive)
            mekugi Patrick Schyrr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes