[SCM] libav/experimental: fix end of buffer check, fix hang_read_header.h264.ts
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:43:53 UTC 2013
The following commit has been merged in the experimental branch:
commit 2b97246ec282d0b8213259cc1013e086dc5b4fbb
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Sun Apr 12 01:37:34 2009 +0000
fix end of buffer check, fix hang_read_header.h264.ts
Originally committed as revision 18454 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 87c020a..7468a02 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -555,7 +555,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
if (desc_list_len < 0)
break;
desc_list_end = p + desc_list_len;
- if (desc_list_end > p_end)
+ if (desc_list_end >= p_end)
break;
for(;;) {
desc_tag = get8(&p, desc_list_end);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list