GNOME Bugzilla – Bug 791606
vorbisparse: Seg fault for corrupt stream where header packets are missing
Last modified: 2018-02-15 07:09:02 UTC
If header type field is corrupted .Crash is observed in vorbisparse plugin. 1 for identification Header 3 for comment header 5 setup header If Second or third packet header type [Eg: 3 or 5] is corrupted, leads to vorbis parse plugin segfault. Reason for segfault: trying to access fileds in "parse->streamheader" in function "vorbis_parse_push_headers" Solution: Need to proper check while parsing header in function "vorbis_parse_parse_packet" Call stack: (gdb) bt
+ Trace 238261
Thanks. Will you be making a patch for this? (Note that you shouldn't really ever need the vorbisparse element and it is not autoplugged by default either.)
Thank you. I am working on fix.Will upload the patch
Vijay: are you still planning on making a patch?
commit 466b868459b498edaffd2bdcac998792e6488327 Author: Tim-Philipp Müller <tim@centricular.com> Date: Wed Feb 14 00:22:38 2018 +0000 vorbisparse: error out when headers are missing https://bugzilla.gnome.org/show_bug.cgi?id=791606
Hi Tim, Sorry for delay. Thanks for adding patch. Also Similar patch required for theora parse plugin,To avoid SegFault