Commit 50e21548 authored by bcoudurier's avatar bcoudurier

fix end of buffer check, fix hang_read_header.h264.ts

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18454 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5c307c2a
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment