Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4_unpack_bframes_bsf: Improve DivX userdata check

2019-03-11 Thread Andreas Rheinhardt
Michael Niedermayer: > On Mon, Mar 11, 2019 at 12:36:08PM +0100, Andreas Rheinhardt wrote: >> The earlier version didn't really check that the 'p' of a "p\0" is >> actually part of a user_data section, instead it treated the first >> "p\0" after the start of a user_data section as end of a

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4_unpack_bframes_bsf: Improve DivX userdata check

2019-03-11 Thread Michael Niedermayer
On Mon, Mar 11, 2019 at 12:36:08PM +0100, Andreas Rheinhardt wrote: > The earlier version didn't really check that the 'p' of a "p\0" is > actually part of a user_data section, instead it treated the first > "p\0" after the start of a user_data section as end of a user_data > section if it is

[FFmpeg-devel] [PATCH] avcodec/mpeg4_unpack_bframes_bsf: Improve DivX userdata check

2019-03-11 Thread Andreas Rheinhardt
The earlier version didn't really check that the 'p' of a "p\0" is actually part of a user_data section, instead it treated the first "p\0" after the start of a user_data section as end of a user_data section if it is close enough to the beginning of the user_data section; it actually needn't be