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 527622 - [flvdemux] crash in FLV demuxer
[flvdemux] crash in FLV demuxer
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.x
Other Linux
: Normal major
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-11 21:45 UTC by Pekka Lampila
Modified: 2008-04-11 23:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Pekka Lampila 2008-04-11 21:45:32 UTC
In Ubuntu Hardy I always get crash when trying to play http://flvdn.gomtv.net/viewer/384.flv in Totem. Version of gstreamer0.10-plugins-bad package is 0.10.6-5.

bt full:

  • #0 strlen
    from /lib/libc.so.6
  • #1 gst_flv_parse_metadata_item
    at gstflvparse.c line 181
  • #2 gst_flv_parse_tag_script
    at gstflvparse.c line 355
  • #3 gst_flv_demux_pull_tag
    at gstflvdemux.c line 348
  • #4 gst_flv_demux_loop
    at gstflvdemux.c line 430
  • #5 gst_task_func
    at gsttask.c line 192
  • #6 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.16.3/glib/gthreadpool.c line 265
  • #7 g_thread_create_proxy
    at /build/buildd/glib2.0-2.16.3/glib/gthread.c line 635
  • #8 start_thread
    from /lib/libpthread.so.0
  • #9 clone
    from /lib/libc.so.6
  • #10 ??

Comment 1 Tim-Philipp Müller 2008-04-11 23:20:19 UTC
This should fix it (there might be a parsing error somewhere, didn't check for that):

 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
          (gst_flv_parse_tag_script):
          Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes
          crash caused by a strlen on a NULL string (#527622).