[Bug 525320] New: git-1.6.3.3-1.5: missing call to closedir
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=525320 Summary: git-1.6.3.3-1.5: missing call to closedir Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package git-1.6.3.3-1.5 For source code file git-1.6.3.3/builtin-rerere.c around line 50 is the source code for the function garbage_collect. I notice the following code dir = opendir(git_path("rr-cache")); but no corresponding calls to closedir function. Suggest code rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=525320
Marcus Meissner
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=525320
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525320#c1
--- Comment #1 from Richard Guenther
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=525320
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525320#c2
Petr Baudis
participants (1)
-
bugzilla_noreply@novell.com