After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751822 - gstrtpvp8pay.c:355:39: error: array subscript is above array bounds
gstrtpvp8pay.c:355:39: error: array subscript is above array bounds
Status: RESOLVED DUPLICATE of bug 750567
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-02 07:36 UTC by Tobias Mueller
Modified: 2015-07-02 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobias Mueller 2015-07-02 07:36:59 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.
Comment 1 Vineeth 2015-07-02 07:44:37 UTC
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.
Comment 2 Sebastian Dröge (slomo) 2015-07-02 07:52:06 UTC
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 ***