[gstreamer-bugs] [Bug 522741] regression: gst_index_entry_free() frees string it does not own
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Mar 17 03:25:37 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=522741
GStreamer | gstreamer (core) | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #107388|none |committed
Flag| |
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|gst_index_entry_free() frees|regression:
|string it does not own |gst_index_entry_free() frees
| |string it does not own
Target Milestone|HEAD |0.10.18
------- Comment #4 from Tim-Philipp Müller 2008-03-17 10:25 UTC -------
2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstindex.c: (gst_index_entry_free):
* gst/gstindex.h:
Don't free key strings which we don't own. Fixes crash in
gst_index_entry_free() (#522741).
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstindex.c: (test_index_entries),
(gst_index_suite), (gst_index):
Add unit test for the above.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=522741.
More information about the Gstreamer-bugs
mailing list