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 602280 - [asfdemux] fix segmentation fault when utf8 tag name is null
[asfdemux] fix segmentation fault when utf8 tag name is null
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.13
Other Linux
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-18 08:50 UTC by Benjamin Gaignard
Modified: 2009-11-18 08:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
correction for potential segmentation fault (675 bytes, patch)
2009-11-18 08:51 UTC, Benjamin Gaignard
committed Details | Review

Description Benjamin Gaignard 2009-11-18 08:50:18 UTC
if the tag name in utf8 is a null pointer don't try to have the length of the string it could cause a segmentation fault.
Comment 1 Benjamin Gaignard 2009-11-18 08:51:13 UTC
Created attachment 148027 [details] [review]
correction for potential segmentation fault
Comment 2 Sebastian Dröge (slomo) 2009-11-18 08:59:28 UTC
commit 26290a698cf62cb3d26d61eae3f0bbcdc35eb6ce
Author: Benjamin Gaignard <benjamin@gaignard.net>
Date:   Wed Nov 18 09:58:39 2009 +0100

    asfdemux: Don't call strlen() on NULL pointers
    
    Fixes bug #602280.