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 752663 - rtpvp8depay: Check available bytes before copy
rtpvp8depay: Check available bytes before copy
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: 1.5.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-21 12:05 UTC by Stian Selnes (stianse)
Modified: 2015-08-16 13:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtpvp8depay: Check available bytes before copy (1.03 KB, patch)
2015-07-21 12:05 UTC, Stian Selnes (stianse)
committed Details | Review

Description Stian Selnes (stianse) 2015-07-21 12:05:20 UTC
Need to check that the number of bytes we want to copy from the adapter
actually is available and handle the error case gracefully. This error
may happen if malformed packets are received and we don't have a
complete frame.
Comment 1 Stian Selnes (stianse) 2015-07-21 12:05:23 UTC
Created attachment 307826 [details] [review]
rtpvp8depay: Check available bytes before copy
Comment 2 Tim-Philipp Müller 2015-07-21 12:16:32 UTC
Thanks, pushed:

commit 45e05706e28439961ac81ce0c8e6403e8e8f03f5
Author: Stian Selnes <stian@pexip.com>
Date:   Tue Jul 21 13:31:05 2015 +0200

    rtpvp8depay: Check available bytes before copy
    
    Need to check that the number of bytes we want to copy from the adapter
    actually is available and handle the error case gracefully. This error
    may happen if malformed packets are received and we don't have a
    complete frame.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=752663