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

CID 1361277: Uninitialized members in LogConfig::LogConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • Logging
    • None

    Description

      *** CID 1361277:  Uninitialized members  (UNINIT_CTOR)
      /proxy/logging/LogConfig.cc: 290 in LogConfig::LogConfig()()
      284     {
      285       // Setup the default values for all LogConfig public variables so that
      286       // a LogConfig object is valid upon return from the constructor even
      287       // if no configuration file is read
      288       //
      289       setup_default_values();
         CID 1361277:  Uninitialized members  (UNINIT_CTOR)
         Non-static class member "custom_logs_enabled" is not initialized in this constructor nor in any functions that it calls.
      290     }
      291     
      292     /*-------------------------------------------------------------------------
      293       LogConfig::~LogConfig
      294     
      295       Delete all config variable strings.
      

      Attachments

        Issue Links

          Activity

            People

              jamespeach James Peach
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: