Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressing this OpenScanHub issue: 1. Defect type: RESOURCE_LEAK 5. openscap-1.4.1/src/XCCDF_POLICY/xccdf_policy_remediate.c:726:3: alloc_arg: "oscap_pcre_compile" allocates memory that is stored into "err". 19. openscap-1.4.1/src/XCCDF_POLICY/xccdf_policy_remediate.c:774:2: leaked_storage: Variable "err" going out of scope leaks the storage it points to. 772| oscap_pcre_free(tab[i].re); 773| 774|-> return ret; 775| } 776|
- Loading branch information