0001-Add-null-check-for-the-frame-pointer.patch
Description: Binary data
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
I do not agree with you. We cannot trust any user input.
2018-06-27 1:29 GMT+08:00 Michael Niedermayer :
> On Tue, Jun 26, 2018 at 07:02:38PM +0800, Baozeng Ding wrote:
> > Signed-off-by: Baozeng Ding
> > ---
> > libavcodec/parser.c | 10 +++---
> > 1 file
Sorry. I do not understand the API. I will learn it later. Thank you.
2018-08-10 17:24 GMT+08:00 Hendrik Leppkes :
> On Fri, Aug 10, 2018 at 10:41 AM Baozeng wrote:
> >
> > I do not agree with you. We cannot trust any user input.
> >
>
> The API requires this, if this
Signed-off-by: Baozeng Ding
The argument `frame` for avcodec_receive_frame function is user controlled. If
a null pointer is passed from the user, it will cause a segmentation fault.
---
libavcodec/decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/decode.c b/libavcodec
Signed-off-by: Baozeng Ding
The argument `frame` for avcodec_receive_frame function is user controlled. If
a null pointer is passed from the user, it will cause a segmentation fault.
---
libavcodec/decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/decode.c b/libavcodec
Signed-off-by: Baozeng Ding
---
libavcodec/parser.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index f43b197..a9786af 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -355,6 +355,7 @@ int ff_combine_frame