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

CID 1324706: Uninitialized members (UNINIT_CTOR)

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Tests
    • None

    Description

      New defect(s) Reported-by: Coverity Scan
      Showing 1 of 1 defect(s)
      
      
      ** CID 1324706:  Uninitialized members  (UNINIT_CTOR)
      /proxy/InkAPITest.cc: 258 in SDK_NetVConn_Params::SDK_NetVConn_Params(const char *, RegressionTest *, int *)()
      
      
      ________________________________________________________________________________________________________
      *** CID 1324706:  Uninitialized members  (UNINIT_CTOR)
      /proxy/InkAPITest.cc: 258 in SDK_NetVConn_Params::SDK_NetVConn_Params(const char *, RegressionTest *, int *)()
      252     
      253     struct SDK_NetVConn_Params {
      254       SDK_NetVConn_Params(const char *_a, RegressionTest *_t, int *_p)
      255         : buffer(NULL), api(_a), port(0), test(_t), pstatus(_p), server_vc(NULL), client_vc(NULL)
      256       {
      257         this->status.client = this->status.server = REGRESSION_TEST_INPROGRESS;
         CID 1324706:  Uninitialized members  (UNINIT_CTOR)
         Non-static class member "vio" is not initialized in this constructor nor in any functions that it calls.
      258       }
      259     
      260       ~SDK_NetVConn_Params()
      261       {
      262         if (this->buffer) {
      263           TSIOBufferDestroy(this->buffer);
      

      Attachments

        Issue Links

          Activity

            People

              ppradhan Pushkar Pradhan
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment