GNOME Bugzilla – Bug 665224
[0.11] [matroska]crashes on empty laces
Last modified: 2012-01-24 14:22:30 UTC
Created attachment 202463 [details] [review] Skip empty lace When the demuxed encounter lace with size 0 it crashes. Patch prints warning and skips the lace
Comment on attachment 202463 [details] [review] Skip empty lace This patch is wrong, empty laces are valid and could happen with theora for example (which allows 0-byte packets). Instead the copying below these lines shouldn't be done for empty laces.
Thanks for feedback. I'll attach another patch that moves the check deeper to gst_matroska_demux_check_subtitle_buffer where the crash actually happens.
Created attachment 202524 [details] [review] Patch
commit b780639b2cc6dd9e61f18eadb9f0967aa2f1c3da Author: Matej Knopp <matej.knopp@gmail.com> Date: Thu Dec 1 15:49:40 2011 +0100 Don't crash on empty laces https://bugzilla.gnome.org/show_bug.cgi?id=665224