intel / gstreamer-media-SDK

GNU Lesser General Public License v2.1
90 stars 53 forks source link

Properly terminate messages identifiers to prevent reads past array #108

Closed SiewHoon closed 6 years ago

SiewHoon commented 6 years ago

The for loop in gst_mfx_decoder_handle_avc_codec_data checks for nullptr terminator, but there is none in msgs array. This will lead to reads past the end of this array.

Signed-off-by: Michał Janiszewski michal1x.janiszewski@intel.com