After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309532 - Matroska: Invalid free()
Matroska: Invalid free()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-05 14:45 UTC by Josef Zlomek
Modified: 2005-07-06 10:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch with correct freeing (622 bytes, patch)
2005-07-05 14:46 UTC, Josef Zlomek
none Details | Review

Description Josef Zlomek 2005-07-05 14:45:25 UTC
MAtroska muxer frees a array allocated via g_array_sized_new() by calling
free(), which is incorrect (and causes segfault). g_array_free() should be used.
The attached patch fixes this.
Comment 1 Josef Zlomek 2005-07-05 14:46:22 UTC
Created attachment 48679 [details] [review]
Patch with correct freeing
Comment 2 Arwed v. Merkatz 2005-07-06 10:24:50 UTC
Needs a g_array_free (used_uids, TRUE), otherwise it's leaking the memory.
Fixed in BRANCH-GSTREAMER-0_8 (matroska hasn't been ported to HEAD yet).