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

Memory leak in QSslCertificate::extensions

XMLWordPrintable

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

      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;
      });
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes