GNOME Bugzilla – Bug 791638
playbin3: Fix accessing invalid index in GstStream when received select-stream event
Last modified: 2017-12-15 08:17:26 UTC
Created attachment 365564 [details] [review] Fix accessing invalid index in GstStream If select-stream event was send to playbin3 as missing any GstStream of ES type (V or A or TEX) of collection then, playbin will access to invalid address of GstStream due to invalid index limit. This caused SIGSEGV.
My test scenario is as below: 1) Track info of Test Stream - 1 Video - 2 Audio - 1 Subtitle 2) Sent stream-select event info - index 0 video - index 1 audio - no subtitle
whoooops, thanks for spotting that :) commit a8a5905ec65272e1a499d97bab2e2d4727c85112 (HEAD -> master, origin/master, origin/HEAD) Author: Dongil Park <dongil.park@lge.com> Date: Fri Dec 15 10:50:44 2017 +0900 playbin3: Fix accessing invalid index in GstStream when received select-stream event If select-stream event was send to playbin3 as missing any GstStream of ES type (V or A or TEX) of collection then, playbin will access to invalid address of GstStream due to invalid index limit. This caused SIGSEGV. https://bugzilla.gnome.org/show_bug.cgi?id=791638
And backported to 1.12