Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4978

CID 1364311: Memory - illegal accesses (USE_AFTER_FREE) in iocore/net/SSLConfig.cc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • TLS
    • None

    Description

      I think this is perhaps from TS-4858:

      *** CID 1364311:  Memory - illegal accesses  (USE_AFTER_FREE)
      /iocore/net/SSLConfig.cc: 258 in SSLConfigParams::initialize()()
      252       ats_free(ssl_server_ca_cert_filename);
      253       ats_free(CACertRelativePath);
      254     
      255     #if HAVE_OPENSSL_SESSION_TICKETS
      256       REC_ReadConfigStringAlloc(ticket_key_filename, "proxy.config.ssl.server.ticket_key.filename");
      257       if (this->ticket_key_filename != NULL) {
         CID 1364311:  Memory - illegal accesses  (USE_AFTER_FREE)
         Passing freed pointer "this->ticket_key_filename" as an argument to "relative_to".
      258         ats_scoped_str ticket_key_path(Layout::relative_to(this->serverCertPathOnly, this->ticket_key_filename));
      259         default_global_keyblock = ssl_create_ticket_keyblock(ticket_key_path);
      260       } else {
      261         default_global_keyblock = ssl_create_ticket_keyblock(NULL);
      262       }
      263     #endif
      

      Attachments

        Issue Links

          Activity

            People

              persiaAziz Syeda Persia Aziz
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h