mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtsbase: Prevent stack gardening by using the right type
stream_type is stored as guint inside the GstStructure but was retreived using valist with a pointer to guint16. This would cause stack gardening when code is compiled without optimisation (e.g. in -O0 the compiler wont pad the stack to optimise out required mask). https://bugzilla.gnome.org/show_bug.cgi?id=655540
This commit is contained in:
parent
b6723d092c
commit
cbc0a2f056
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ mpegts_base_activate_program (MpegTSBase * base, MpegTSBaseProgram * program,
|
|||
guint i, nbstreams;
|
||||
guint pcr_pid;
|
||||
guint pid;
|
||||
guint16 stream_type;
|
||||
guint stream_type;
|
||||
GstStructure *stream;
|
||||
const GValue *new_streams;
|
||||
const GValue *value;
|
||||
|
|
Loading…
Reference in a new issue