[Bug 523349] New: avrdude-5.5-111.96: possible resource leak
http://bugzilla.novell.com/show_bug.cgi?id=523349 Summary: avrdude-5.5-111.96: possible resource leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 avrdude-5.5-111.96 For source code avrdude-5.5/fileio.c, around line 944 is the source code for the function fmt_autodetect. I notice a call to fopen, some calls to fgets, but no calls to fclose. Suggest add one to each of the three success returns ( FMT_RBIN, FMT_IHEX, FMT_SREC), to prevent a resource leak. -- 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=523349
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=523349
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=523349#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=523349
http://bugzilla.novell.com/show_bug.cgi?id=523349#c2
Juergen Weigert
participants (1)
-
bugzilla_noreply@novell.com