[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

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

2021-09-14 Thread Nicolas Jorge Dato
When an 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/

[FFmpeg-devel] [PATCH] Fixes overflow in libavformat/mpegts.c when parsing the PMT, ticket #9422.

2021-09-14 Thread Nicolas Jorge Dato
When an 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 (descri^Cor ID + length). --- libavformat/mpegts.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/m