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

Memory leak in QSslCertificate::extensions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.2
    • 5.15.2
    • Network: SSL
    • None

    Description

      We get the following errors from valgrind after we used QSslCertificate::extensions.
      See leak.txt

      Snippet:

      const auto& ext = cert.extensions();
      
      const bool foundOcspResponder = std::any_of(ext.cbegin(), ext.cend(), [&ocsp](const auto& entry){
          return entry.name() == QLatin1String("authorityInfoAccess") &&
              entry.value().toMap().value(QStringLiteral("OCSP")).toString() == ocsp;
      });
      

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes