Re: [FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Michael Niedermayer
On Sat, Dec 14, 2019 at 08:58:55PM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus

Re: [FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Paul B Mahol
lgtm On 12/14/19, Michael Niedermayer wrote: > Fixes: Ticket8430 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/pnm.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c > index b4e5d3076b..b5c2881948 100644 > --- a/libavcodec/pnm.c > +

[FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Michael Niedermayer
Fixes: Ticket8430 Signed-off-by: Michael Niedermayer --- libavcodec/pnm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index b4e5d3076b..b5c2881948 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -117,6 +117,9 @@ int ff_pnm_decode_header(