#47697 [lib/libdsa/dsalib_updown.c:580]: (error) Resource leak: CmdFile
Closed: wontfix None Opened 10 years ago by dcb.

$ fgrep CmdFile ../BUILD/389-admin-1.1.35/lib/libdsa/dsalib_updown.c
FILE *CmdFile;
CmdFile = fopen(line, "r");
if (!CmdFile)
if (!fread(cmd, 1, BIG_LINE, CmdFile))

I see no matching call to fclose. Suggest add one.

I also checked the latest code and the bug exists there also.


To ssh://git.fedorahosted.org/git/389/admin.git
5923c77..d077f9a master -> master

commit d077f9a3b04998c28d0071b7656c34ca7f07e532
Author: Mark Reynolds mreynolds@redhat.com
Date: Mon Sep 15 12:19:12 2014 -0400

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 389-admin,console 1.1.36

7 years ago

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

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1033

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.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata