[Bug 722081] New: h265parse:Fix segfault when parsing VPS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jan 12 23:30:42 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722081
  GStreamer | gst-plugins-bad | git

           Summary: h265parse:Fix segfault when parsing VPS
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: whiterabbit.dhlee at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=266131)
 View: https://bugzilla.gnome.org/attachment.cgi?id=266131
 Review: https://bugzilla.gnome.org/review?bug=722081&attachment=266131

base with 2e9e8b5 dvb: Use DVB_API_VERSION to know if we have recent enough
version

I saw the segfault with some test stream.
This test stream has no "vps_sub_layer_ordering_info_present_flag".
and The gsth265parser.c:1756 and gsth265parser.c:1927 is some problem.

-----------------------------------------------------------
for (i = 0; i <= (vps->max_sub_layers_minus1 - 1); i++) {

if vps->max_sub_layers_minus1 is zero , then (vps->max_sub_layers_minus1-1) is
0xFFFF. 

-----------------------------------------------------------

so I fixed this problem. Could you check it?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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