Gtkmm-forge digest, Vol 1 #1100 - 3 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 337874] New: segfault in Gtk::IconTheme::get_search_path (gtkmm (bugzilla.gnome.org))
   2. [Bug 337874] segfault in Gtk::IconTheme::get_search_path (gtkmm (bugzilla.gnome.org))
   3. [Bug 337875] New: Memory leak in Gtk::IconTheme::get_search_path() (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Sun,  9 Apr 2006 22:05:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 337874] New: segfault in Gtk::IconTheme::get_search_path

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D337874
 gtkmm | general | Ver: 2.8.x

           Summary: segfault in Gtk::IconTheme::get_search_path
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon jongsma gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Gtk::IconTheme::get_search_path() dereferences a NULL pointer, which caus=
es a
segfault whenever it is called.  Attached is a patch that fixes this issu=
e.  Is
it ok if I commit this change?


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Sun,  9 Apr 2006 22:07:06 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 337874] segfault in Gtk::IconTheme::get_search_path

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D337874
 gtkmm | general | Ver: 2.8.x


jonner changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
         AssignedTo|gtkmm-                      |jonathon jongsma gmail c=
om
                   |forge lists sourceforge net |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




------- Comment #1 from jonner  2006-04-10 02:07 UTC -------
Created an attachment (id=3D63073)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D63073&action=3Dview)
fix for segfault in get_search_path


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Sun,  9 Apr 2006 22:10:09 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 337875] New: Memory leak in Gtk::IconTheme::get_search_path()

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D337875
 gtkmm | general | Ver: 2.8.x

           Summary: Memory leak in Gtk::IconTheme::get_search_path()
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon jongsma gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I believe there's a memory leak in this function since it doesn't free th=
e
memory that was allocated by gtk+ for the array of path names.  Ideally t=
he
strings should be copied into a C++ container and then freed before retur=
ning
from the function.  (see, for example, how the xfce bindings do it:
http://svn.xfce.org/svn/xfce/xfc/trunk/libXFCui/xfc/gtk/icontheme.cc).  B=
ut
since the gtkmm function returns an ArrayHandle, I'm not sure how we woul=
d free
the memory.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]