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

CID 1021743: Uninitialized members in iocore/net/UnixNet.cc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • Network

    Description

      *** CID 1021743:  Uninitialized members  (UNINIT_CTOR)
      /iocore/net/UnixNet.cc: 269 in NetHandler::NetHandler()()
      263         max_connections_active_in(0),
      264         inactive_threashold_in(0),
      265         transaction_no_activity_timeout_in(0),
      266         keep_alive_no_activity_timeout_in(0)
      267     {
      268       SET_HANDLER((NetContHandler)&NetHandler::startNetEvent);
         CID 1021743:  Uninitialized members  (UNINIT_CTOR)
         Non-static class member "default_inactivity_timeout" is not initialized in this constructor nor in any functions that it calls.
      269     }
      270     
      271     int
      272     update_nethandler_config(const char *name, RecDataT data_type ATS_UNUSED, RecData data, void *cookie)
      273     {
      274       NetHandler *nh = static_cast<NetHandler *>(cookie);
      
      

      Attachments

        Issue Links

          Activity

            People

              oknet Chao Xu
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 40m
                  40m