Re: [FFmpeg-devel] [PATCH] cbs_sei: Detect payload overflows when reading SEI messages

2021-03-12 Thread Mark Thompson
On 21/02/2021 20:58, Michael Niedermayer wrote: On Tue, Feb 02, 2021 at 08:58:11PM +, Mark Thompson wrote: The top-level GetBitContext is sized for the whole NAL unit, so it fails to detect overflows where a payload continues into the following message. To fix that, we make a new context on

Re: [FFmpeg-devel] [PATCH] cbs_sei: Detect payload overflows when reading SEI messages

2021-02-21 Thread Michael Niedermayer
On Tue, Feb 02, 2021 at 08:58:11PM +, Mark Thompson wrote: > The top-level GetBitContext is sized for the whole NAL unit, so it fails > to detect overflows where a payload continues into the following message. > To fix that, we make a new context on the stack for reading each payload. > --- >

Re: [FFmpeg-devel] [PATCH] cbs_sei: Detect payload overflows when reading SEI messages

2021-02-20 Thread Mark Thompson
On 02/02/2021 20:58, Mark Thompson wrote: The top-level GetBitContext is sized for the whole NAL unit, so it fails to detect overflows where a payload continues into the following message. To fix that, we make a new context on the stack for reading each payload. --- On 01/02/2021 22:31, Michael

[FFmpeg-devel] [PATCH] cbs_sei: Detect payload overflows when reading SEI messages

2021-02-02 Thread Mark Thompson
The top-level GetBitContext is sized for the whole NAL unit, so it fails to detect overflows where a payload continues into the following message. To fix that, we make a new context on the stack for reading each payload. --- On 01/02/2021 22:31, Michael Niedermayer wrote: Fixes: Timeout Fixes: