Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18793

Fix Coverity issues introduced by "LU-18256 gss: deprecate insecure enctypes"

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.17.0
    • 3
    • 9223372036854775807

    Description

      ________________________________________________________________________________________________________
      *** CID 457079:    (RESOURCE_LEAK)
      /lustre/utils/gss/context_lucid.c: 546 in prepare_krb5_rfc4121_buffer()
      540     	}
      541     	buf->length = 0;
      542     	if (enc_key.data) {
      543     		free(enc_key.data);
      544     		enc_key.data = NULL;
      545     	}
         CID 457079:    (RESOURCE_LEAK)
         Variable "derived_key" going out of scope leaks the storage "derived_key.data" points to.
      546     	return -1;
      547     }
      548     int
      549     serialize_krb5_ctx(gss_ctx_id_t *ctx, gss_buffer_desc *buf)
      550     {
      551     	OM_uint32 maj_stat, min_stat;
      

      Attachments

        Issue Links

          Activity

            People

              sebastien Sebastien Buisson
              sebastien Sebastien Buisson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: