[Gstreamer-bugs] [Bug 102576] New - bogus keys in GHashNode
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Sun Jan 5 04:09:40 PST 2003
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=102576
Changed by vishnu at pobox.com.
--- shadow/102576 Sun Jan 5 07:09:40 2003
+++ shadow/102576.tmp.14602 Sun Jan 5 07:09:40 2003
@@ -0,0 +1,27 @@
+Bug#: 102576
+Product: GStreamer
+Version: cvs
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: vishnu at pobox.com
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.4.0
+URL:
+Summary: bogus keys in GHashNode
+
+If you look at the ghash implementation, you will see that the key pointer
+is stored in the GHashNode.
+
+The attached patch fixes g_hash_table_insert calls in gstmemindex.c such
+that the key remains valid for the duration of the hash table.
+
+gstfileindex.c needs a similar patch which i can provide if needed.
+
+Perhaps it would be worthwhile to grep the whole gstreamer tree for
+g_hash_table_insert and verify that this problem does not exist anywhere else.
More information about the Gstreamer-bugs
mailing list