Re: [FFmpeg-devel] [PATCH v3] avformat/mpegts: fixes overflow when parsing the PMT

2021-09-18 Thread Marton Balint
On Wed, 15 Sep 2021, Nicolas Jorge Dato wrote: When a possible overflow was detected, there was a break to exit the while loop. However, it should have already substracted 2 bytes from program_info_length (descriptor ID + length). Ticket #9422 Thanks, applied. Regards, Marton --- libavfo

[FFmpeg-devel] [PATCH v3] avformat/mpegts: fixes overflow when parsing the PMT

2021-09-15 Thread Nicolas Jorge Dato
When a possible overflow was detected, there was a break to exit the while loop. However, it should have already substracted 2 bytes from program_info_length (descriptor ID + length). Ticket #9422 --- libavformat/mpegts.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib