mssdemux: fix crash while setting bitrate in caps structure
authorRajat Verma <rajat.verma@st.com>
Wed, 7 Jan 2015 06:01:30 +0000 (11:31 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Jan 2015 10:08:20 +0000 (10:08 +0000)
commitde246c6741d70077a06ea223297c5ebc57ba471c
tree7ac6e630e050c86943b3eda828a6f4da3ca0ef0f
parentef71b6178ec56c0be9aac600d852f8d259f79760
mssdemux: fix crash while setting bitrate in caps structure

q->bitrate is a guint64, but G_TYPE_INT may read fewer bits
off the stack, and if we pass more then the NULL sentinel
may not be found at the right place, which in turn might
lead to crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=741751
ext/smoothstreaming/gstmssmanifest.c