[FFmpeg-devel] [PATCH 5/9] avformat/fitsenc: validate input pixel format
Paul B Mahol
onemda at gmail.com
Wed Nov 8 21:03:12 EET 2017
On 11/8/17, Timo Rothenpieler <timo at rothenpieler.org> wrote:
> Fixes CID #1416961 and #1416962
> ---
> libavformat/fitsenc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libavformat/fitsenc.c b/libavformat/fitsenc.c
> index 7cb171596c..91411f2606 100644
> --- a/libavformat/fitsenc.c
> +++ b/libavformat/fitsenc.c
> @@ -106,6 +106,8 @@ static int write_image_header(AVFormatContext *s)
> }
> bzero = 32768;
> break;
> + default:
> + return AVERROR(EINVAL);
> }
>
> if (fitsctx->first_image) {
> --
> 2.14.2
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
ok
More information about the ffmpeg-devel
mailing list