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

Memory leak in QSslCertificate::extensions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: 5.15.2
    • Fix Version/s: 6.2
    • Component/s: Network: SSL
    • Labels:
      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

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