Message ID | 20200606180815.12736-3-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | 48de8f5816aa54dc584aeb2dbbf63a0e880279e2 |
Headers | show |
Series | [FFmpeg-devel,1/3] avformat/oggdec: Initialize return value from ogg_read_page() and check it everywhere | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On Sat, Jun 06, 2020 at 08:08:15PM +0200, Michael Niedermayer wrote: > Found-by: Kieran > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/mpeg12dec.c | 3 --- > 1 file changed, 3 deletions(-) will apply [...]
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 40d054def5..ff81364fd1 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -221,7 +221,6 @@ end: } /** - * Note: this function can read out of range and crash for corrupt streams. * Changing this would eat up any speed benefits it has. * Do not use "fast" flag if you need the code to be robust. */ @@ -397,7 +396,6 @@ end: } /** - * Note: this function can read out of range and crash for corrupt streams. * Changing this would eat up any speed benefits it has. * Do not use "fast" flag if you need the code to be robust. */ @@ -559,7 +557,6 @@ static inline int mpeg2_decode_block_intra(MpegEncContext *s, } /** - * Note: this function can read out of range and crash for corrupt streams. * Changing this would eat up any speed benefits it has. * Do not use "fast" flag if you need the code to be robust. */
Found-by: Kieran Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/mpeg12dec.c | 3 --- 1 file changed, 3 deletions(-)