mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
gst/rtp/gstrtpmp4adepay.c: Fix wrong comparison in overrun check. Fixes #499239 some more.
Original commit message from CVS: Patch by: Jayarama S. Santana <sundarsantana at gmail dot com> * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_process): Fix wrong comparison in overrun check. Fixes #499239 some more.
This commit is contained in:
parent
a7b160d8b1
commit
ae6cf31baf
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-11-27 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
Patch by: Jayarama S. Santana <sundarsantana at gmail dot com>
|
||||
|
||||
* gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_process):
|
||||
Fix wrong comparison in overrun check. Fixes #499239 some more.
|
||||
|
||||
2007-11-27 Edward Hervey <bilboed@bilboed.com>
|
||||
|
||||
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_init),
|
||||
|
|
|
@ -302,7 +302,7 @@ gst_rtp_mp4a_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
|||
|
||||
/* this can not be possible, we have not enough data or the length
|
||||
* decoding failed because we ran out of data. */
|
||||
if (skip + data_len < avail)
|
||||
if (skip + data_len > avail)
|
||||
goto wrong_size;
|
||||
|
||||
GST_LOG_OBJECT (rtpmp4adepay,
|
||||
|
|
Loading…
Reference in a new issue