[Bug 533454] New: at-3.1.8-1074.1: two resource leaks
http://bugzilla.novell.com/show_bug.cgi?id=533454 Summary: at-3.1.8-1074.1: two resource leaks Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem 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 at-3.1.8-1074.1 For source code file at-3.1.8/at.c I notice two problems 1. around line i630 is the source code for the function process_jobs. I notice the following line of code if ((spool = opendir(".")) == NULL) but I fail to notice a matching call to closedir. This looks like a resource leak to me. Suggest add call to closedir. 2. Same file, same function is the following line of code fp = fopen(dirent->d_name, "r"); with no matching call to fclose. Suggest add one. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=533454 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mseben@novell.com |ovo.novell.com | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=533454 User mseben@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=533454#c1 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #1 from Michal Seben <mseben@novell.com> 2009-08-31 02:31:57 MDT --- fixed -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=533454 http://bugzilla.novell.com/show_bug.cgi?id=533454#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (533454) was mentioned in https://build.opensuse.org/request/show/19096 Factory / at -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com