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 521102 - h.263+ rtp depayloader crashes on short payloads
h.263+ rtp depayloader crashes on short payloads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-07 22:24 UTC by Olivier Crête
Modified: 2008-03-08 04:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix crash (1.01 KB, patch)
2008-03-07 22:25 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2008-03-07 22:24:54 UTC
I'm attaching a patch thats careful in checking that the buffer is large enough before reading from it.
Comment 1 Olivier Crête 2008-03-07 22:25:18 UTC
Created attachment 106816 [details] [review]
patch to fix crash
Comment 2 Sebastian Dröge (slomo) 2008-03-08 04:21:12 UTC
Thanks, committed with a small change...

2008-03-08  Sebastian Dröge  <slomo@circular-chaos.org>

	Patch by: Olivier Crete <tester at tester dot ca>

	* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process):
	Check that a buffer is large enough before reading from it.
	Fixes bug #521102.