[Bug 755161] h264parse, h265parse: initialize picture parameter set structure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 18 03:41:00 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755161

--- Comment #14 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 311622
  --> https://bugzilla.gnome.org/attachment.cgi?id=311622&action=edit
codecparser: h265: initialize parsing structures

Initialize to 0 these parse structures before filling them: GstH265SEIMessage,
GstH265NalUnit, GstH265VPS, GstH265PPS, GstH265SPS and GstH265SliceHdr.

When calling the functions which fill those structures, they may fail, leaving
unitialized those structures. This situation may lead to future problems, such
as a segmentation fault when freeing, for example.

This patch initializes to zero these structures, before filling them.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list