Mailinglist Archive: opensuse-bugs (6597 mails)

< Previous Next >
[Bug 527409] New: libbonobo-2.24.1-3.3: use of local variable after free
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Aug 2009 03:36:03 -0600
  • Message-id: <bug-527409-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=527409


Summary: libbonobo-2.24.1-3.3: use of local variable after free
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just had a look at factory package libbonobo-2.24.1-3.3

For source code file
libbonobo-2.24.1/bonobo-activation/bonobo-activation-mime.c
around line 300 is the source code for the
function gnome_vfs_mime_get_short_list_components.

I notice the following lines of code

g_free (supertype);

then

sort[1] = g_strconcat ("bonobo:supported_mime_types.has ('", supertype,
"')", NULL);

It seems slighty less than optimal to use the local variable supertype
after is has been freed. 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.

< Previous Next >