[Bug 542463] New: trustedgrub-1.1.3-9.4: duplicate calls to malloc
http://bugzilla.novell.com/show_bug.cgi?id=542463 Summary: trustedgrub-1.1.3-9.4: duplicate calls to malloc 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 trustedgrub-1.1.3-9.4 For source code file TrustedGRUB-1.1.3/util/sha1.c around line 400, function calculate_sha1 is the following code tcgbuffer = (char*) malloc(TCG_BUFFER_SIZE); but a few lines earlier I notice exactly the same code. Suggest remove one of the calls to malloc. -- 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=542463 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |duwe@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=542463 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542463#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:55:49 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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=542463 http://bugzilla.novell.com/show_bug.cgi?id=542463#c Torsten Duwe <duwe@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=542463 http://bugzilla.novell.com/show_bug.cgi?id=542463#c2 Torsten Duwe <duwe@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Torsten Duwe <duwe@novell.com> 2010-04-14 11:23:07 UTC --- For the record: in this case, the program in question (grub) will terminate when executing the kernel. Fixed nonetheless. -- 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=542463 http://bugzilla.novell.com/show_bug.cgi?id=542463#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (542463) was mentioned in https://build.opensuse.org/request/show/37915 Factory / trustedgrub -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com