GNOME Bugzilla – Bug 751822
gstrtpvp8pay.c:355:39: error: array subscript is above array bounds
Last modified: 2015-07-02 07:52:06 UTC
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.
This already seems to have been fixed with http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/gst/rtp/gstrtpvp8pay.c?id=e29f231e5d032fea63a55ba0258a4ab3e2b13f67 Check with master once.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed in the code repository. *** This bug has been marked as a duplicate of bug 750567 ***