[Bug 740080] faad crashes with a SIGSEGV if fed with unvalid data

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 13 11:56:28 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740080
  GStreamer | gst-plugins-bad | unspecified

--- Comment #1 from Peter G. Baum <peter at dr-baum.net> 2014-11-13 19:56:24 UTC ---
Created an attachment (id=290657)
 View: https://bugzilla.gnome.org/attachment.cgi?id=290657
 Review: https://bugzilla.gnome.org/review?bug=740080&attachment=290657

Patch to fix the crash

The output of the gst-launch pipeline described in the report is now as
expected for invalid data:

ERROR: from element /GstPipeline:pipeline0/GstCafDemux:cafdemux0: GStreamer
encountered a general stream error.
Additional debug info:
gstbaseparse.c(3334): gst_base_parse_loop ():
/GstPipeline:pipeline0/GstCafDemux:cafdemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.113517207  6132      0x2523450 DEBUG                   faad
gstfaad.c:301:gst_faad_set_format:<faad0> codec_data: object_type=0,
sample_rate=7, channels=0
0:00:00.113645545  6132      0x2523450 DEBUG                   faad
gstfaad.c:374:gst_faad_set_format:<faad0> faacDecInit2() failed
0:00:00.113677261  6132      0x2523450 DEBUG                   faad
gstfaad.c:301:gst_faad_set_format:<faad0> codec_data: object_type=0,
sample_rate=7, channels=0
0:00:00.113695112  6132      0x2523450 DEBUG                   faad
gstfaad.c:374:gst_faad_set_format:<faad0> faacDecInit2() failed
0:00:00.113715238  6132      0x24e1100 DEBUG                   faad
gstfaad.c:223:gst_faad_stop:<faad0> stop
0:00:00.113753723  6132      0x24e1100 DEBUG               aacparse
gstaacparse.c:1407:gst_aac_parse_stop: stop
Freeing pipeline ...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list