Coverity has detected this memory leak:
Error: RESOURCE_LEAK (CWE-772):
open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:898:
alloc_fn: Storage is returned from allocation function "g_strdup".
open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:898:
var_assign: Assigning: "subjectVal" = storage returned from "g_strdup(tmp)".
open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:966:
leaked_storage: Variable "subjectVal" going out of scope leaks the
storage it points to.
# 964| retCode = validSubjectFound;
# 965| done:
# 966|-> return retCode;
# 967| }
# 968|
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (open-vm-tools bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2021:4225
Coverity has detected this memory leak: Error: RESOURCE_LEAK (CWE-772): open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:898: alloc_fn: Storage is returned from allocation function "g_strdup". open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:898: var_assign: Assigning: "subjectVal" = storage returned from "g_strdup(tmp)". open-vm-tools-11.2.5-17337674/vgauth/serviceImpl/saml-xmlsec1.c:966: leaked_storage: Variable "subjectVal" going out of scope leaks the storage it points to. # 964| retCode = validSubjectFound; # 965| done: # 966|-> return retCode; # 967| } # 968|