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 687055 - exiftag: fix use after free and memory leak
exiftag: fix use after free and memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 1.0.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-28 19:04 UTC by Miguel Angel Cabrera Moya
Modified: 2012-10-28 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.56 KB, patch)
2012-10-28 19:05 UTC, Miguel Angel Cabrera Moya
committed Details | Review

Description Miguel Angel Cabrera Moya 2012-10-28 19:04:42 UTC
One variable was used after it was freed and then is leaked. In the second part variable 'str' was used instead of 'utfstr'
Comment 1 Miguel Angel Cabrera Moya 2012-10-28 19:05:06 UTC
Created attachment 227469 [details] [review]
proposed fix
Comment 2 Tim-Philipp Müller 2012-10-28 20:23:30 UTC
Thanks!

commit e921b5b0f3187ff3b210dd54473ff887eca020ab
Author: Miguel Angel Cabrera Moya <madmac2501@gmail.com>
Date:   Sun Oct 28 19:59:41 2012 +0100

    exiftag: fix use after free and memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687055