#514 Potential resource leak in path_utils
Closed: Fixed None Opened 13 years ago by sgallagh.

From Coverity:

Assigning: "dir" = storage returned from "opendir(path)".
Calling allocation function "opendir".
  526    if (!(dir = opendir(path))) {
  527        error = errno;
  528        return error;
  529    }
...
  540        if (error != SUCCESS) {
Variable "dir" going out of scope leaks the storage it points to.
  541            return error;
  542        }
...
  553                if (error != SUCCESS) {
Variable "dir" going out of scope leaks the storage it points to.
  554                    return error;
  555                }

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.2.1
owner: jdennis => sgallagh
status: new => assigned

Fields changed

keywords: => coverity

Fixed by 9a19311

fixedin: => 1.2.1
resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.2.1

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1556

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata