[Bug 751822] New: gstrtpvp8pay.c:355:39: error: array subscript is above array bounds

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 2 00:36:59 PDT 2015


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

            Bug ID: 751822
           Summary: gstrtpvp8pay.c:355:39: error: array subscript is above
                    array bounds
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gnome-bugs at muelli.cryptobitch.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I get this error when compiling with more pedantic flags:

gstrtpvp8pay.c: In function 'gst_rtp_vp8_pay_handle_buffer':
gstrtpvp8pay.c:355:39: error: array subscript is above array bounds
[-Werror=array-bounds]
         offset< self->partition_offset[i + 1])


I expected to be able to compile fine.

The code does indeed look as if it goes beyond the allocated array.

-- 
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